Chef · Arazzo Workflow
Chef Automate Run a Compliance Scan and Retrieve Reports
Version 1.0.0
Resolve profiles and nodes, launch a scan job, then search reporting for the results.
View Spec
View on GitHub
Application DeliveryAutomationComplianceConfiguration ManagementDevOpsDevSecOpsHabitatInfrastructure as CodeInSpecArazzoWorkflows
Provider
Workflows
run-compliance-scan
Launch an InSpec scan job in Chef Automate and collect its report.
Resolves the available compliance profiles and managed nodes, creates a scan job across them, and searches compliance reporting for the outcome.
1
listProfiles
listComplianceProfiles
List the InSpec compliance profiles installed in Automate so the scan job references a profile the server can actually resolve.
2
listNodes
listManagedNodes
List the nodes Automate is managing so the scan targets real, reporting infrastructure rather than an unmanaged host.
3
createJob
createScanJob
Create the compliance scan job pairing the chosen profiles with the chosen nodes. Automate queues the job and executes it asynchronously.
4
searchScanReports
searchReports
Search the compliance reporting index for the report produced by the scan. Because the job runs asynchronously, this step is the collection point and may be repeated until the report for the job appears.