This validator checks whether your project has all of the Issue fields your report template is looking for.
Before we can validate these fields, we need to define them! In the interest of keeping information organized, I'm going to have to ask you to open the Report template properties: issue fields page of the Administration manual that explains how to define Issue fields.
We want to ensure that the latest and most up-to-date information about each topic is in a single page.
After you've defined your Issue fields within the report template properties, validate your project. Check the on-screen Validator log to see what fields are missing and causing the error.
In this example, one
Description field was misspelled as "Descirption" and the log reads:
[ERROR] Issue 'SQL Injection' is missing the field 'Description', which is required by your report template. Please add the field to the issue.
In another example, our
CVSS field exists but is empty. The log shows:
[ERROR] Your report template specifies that the field 'CVSS' is required, but Issue 'SQL Injection' does not provide a value for it. Please provide some value.
In one more example, our
Rating field defines values of High | Medium | Low but our project contains a
Rating value of Critical. The log shows:
[ERROR] Value 'Critical' is invalid for field 'Rating' in Issue 'SQL Injection'. Allowed values are High, Medium, Low"
To fix, all we have to do is edit the field of the specific Issue identified by the validator.
Head back to the project and navigate to the issue in the error message in your browswer ("SQL Injection" in this example), and resolve the problem, e.g. by editing the Rating field to make sure it had a value of either High, Medium, or Low.
If you haven't defined any Issue fields in your report template properties, you'll get a warning when you validate your project.
[WARN] The selected template doesn't define any Issue fields. Dradis doesn't know what Issue fields your report template is looking for.
[WARN] Go to Admin > Templates > Reports and define some Issue fields for this report template.
[WARN] More details: https://dradisframework.com/support/guides/administration/report_template_properties.html#issue-fields
If you see the above output, head over to the link in the message to add your Issue fields so that Dradis knows what fields and field values to validate.
Don't want to use the validator? Just open the All Issues page and check out the Validator column to confirm which Issues match your report template properties and which have errors that need to be fixed before they will export out into your report template.
Next help article: Validate Node labels →