Reporter Modes
Two Ways to Generate Compliance Reports
Mode 1: Native InSpec Profile Execution
Installation Required
# macOS
brew install chef/chef/inspec
# Linux
curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec
# Ruby gem
gem install inspec-binHow It Works
Example
When to Use
Limitations
Mode 2: Converted Ansible Collections (InSpec-Free)
Installation Required
How It Works
Example
Step 1: Convert Profile (One-Time)
Step 2: Run Without InSpec
Step 3: Get Reports Automatically
When to Use
Advantages
Generated Collection Features
Comparison Matrix
Feature
Native InSpec Mode
Converted Collection Mode
Decision Tree
FAQ
Q: Why does ansible-inspec still need InSpec for native profiles?
Q: Can I run InSpec profiles without InSpec?
Q: Are converted collections as powerful as native InSpec?
Q: Which mode should I use?
Q: Can reports from both modes be used together?
Example: InSpec-Free Compliance Workflow
Troubleshooting
"InSpec not found" error in reports
Reports show empty controls
Callback plugin not generating reports
Summary
Last updated