The Reports page (Compliance > Reports) provides comprehensive insight into the compliance status of all scanned infrastructure. Scan results for audit cookbook configurations also appear in this view.
Note
The dashboard shows the results of all scans with end times on the current selected day. The current selected day is based on timestamps in Coordinated Universal Time (UTC).
The trend graph provides a historical overview of node status over time. You can change it to display overviews of the past 10 days, 1 month, 3 months, or 1 year.
To view scan reports in the past, users can select a different date from the calendar located in the search bar.
The Compliance search allows you to view and filter compliance scan results based on a defined set of filters. Wildcard searches on field values will not return suggestions, but they will filter the results. For example, you can search for Node Name: prod* and filter the results to list all the node names that begin with prod.
Deep filtering provides reports on compliance profiles and controls. Apply deep filtering to see the compliance reporting for a profile version or one of its controls.
Chef Automate saves computational time and storage space by calculating compliance reporting statistics at the aggregate level. Deep filtering uses the profile_id attribute to drill down to the granular level of your compliance status. In contrast, filtering with the profile_name attribute instead of profile_id creates a report for every version of profile_name in your infrastructure.
Deep filtering supports reports for:
Deep Filtering with profile_id scopes a compliance report to a versioned profile.
To create a report at the profile level:
1. Specify the profile in the filter using `profile_id`
1. Leave the control filter empty
1. Apply additional reporting filters
Deep filtering for a control scopes a compliance report to a single control within a versioned profile.
To create a report at the control level:
1. Enter the `profile_id` in the filter
1. Add a control
1. Apply additional reporting filters
If the results returned by your deep filter are incorrectly scoped, review the profile_id and control field contents.
A node’s waived status appears if applicable in displays where a node’s status appears in Chef Automate. The Compliance Reports overview displays the node count and history of waived nodes, and the count and history of waived controls. Nodes and Profiles views include Waived Nodes and Waived Profiles status filters respectively. Selecting the Waived status filter displays the respective Node or Profile reporting with the waived status. Hover over the control’s Waived icon under the Node Status column in Controls to view more details about the waiver applied to the control.
Use Chef InSpec to configure waivers.
The download button located to the right of the search bar allows users to download a JSON or CSV format of the reports. The downloaded contents are the result of all of the applied filters–including end time selected in calendar.
The Compliance Status and Report Metadata bar is directly beneath the search bar. Expand the Report Metadata information by selecting the compliance status bar. The report metadata shows a summary of the nodes, report date, duration, status, number of platforms, number of environments, and number of profiles used in your scan.
Toggle between Node Status and Profile Status to view your system’s compliance state.
The Node Status view shows your system’s compliance status from the operational perspective of nodes.
The Profile Status view shows your system’s compliance status from the compliance perspective of Compliance profiles run during scans.
Note
Switch your views by selecting the appropriate tabs and see compliance report results from the perspective of Nodes, Profiles, and Controls.
The Nodes view provides more detailed insight into the compliance status of the nodes in your system. Sort this table by node name, platform, environment, last scan, and the number of control failures from the most recent compliance scan. Scroll to the bottom of the page for pagination navigation options.
id of the selected node. Use Scan Results to show the scan results of controls for the specific node in a side window.Use the Profiles tab to examine the compliance profiles installed under your individual user account.
id of the selected profile. Use Scan Results to show the scan results of controls for the specific node in a side window.Use the Controls tab to examine the compliance controls installed under your individual user account.
id of the selected profile and to the id of the selected control.The node name is at the top of the header, directly above the node compliance status.
The node history table displays the following information:
Select Scan History in the upper right corner to open a side-window. Choosing a compliance scan from this list redirects you to a view of all controls run during the selected scan.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/automate/reports/