update compliance reporting in Automate to match CVSS 3.0 standards #433
Labels
compliance reporting
This issue or pull request applies to the compliance reporting part of Automate
ux
User Story
Chef InSpec itself does not assume status of a report or an individual profile results status in a report. It only reports the status of each control, leaving the consumer to interpret the impacts, failures, and passes the way they would like.
In Automate, we've been evaluating report (node and profile) status in Automate following the CVSS 2.0 standards:
Now that CVSS 3.0 standards are around, we should upgrade our logic to those numbers:
Added benefit: this introduces a "none" or "information" impact value. A 0 impact control (or information control) should not count against the overall profile or node status. These are for evaluation only. This can be used by those interested in exceptions, as the status of the control results will still be reported, it just won't count against the overall status of the profile/node.
UI WORK: The node results details page has button filters for the control impacts. This will need to be updated for the new statuses (we need some ux for this). The profile results details page also has some light logic for displaying the impact of the control which will need to be updated.
"Informational" will also need to be a new status in Automate in general. With the introduction of these new statuses, it could be possible to have a profile with only informational controls, and it is possible to only run an "informational" profile on a node. This means the possible statuses for nodes, profiles, and controls will be informational, skipped, passed, failed.
Definition of Done
Create a profile with at least one control of each new impact range
Scan a node with Automate using the profile
Expect the correct results. Informational control results should not contribute to overall status.
Filter by control, see status updates
Create a profile with only informational controls.
Scan a node with the profile
Expect "informational" status for both the node and profile.
Related Resources
https://nvd.nist.gov/vuln-metrics/cvss
https://chef.aha.io/ideas/ideas/A2-I-32
Aha! Link: https://chef.aha.io/epics/A2-E-161
The text was updated successfully, but these errors were encountered: