Allowlist
Some findings are expected for approved playbooks. The allowlist lets you suppress specific rules for specific files without disabling the scanner.
Configuration
Edit . (next to main.), or pass a custom
path with –allowlist /path/to/config..
How it works
file:is the path relative to the scan directoryrules:is a list of rule IDs to suppress. Use"*"to suppress everything.reason:is logged at INFO level for audit trail (visible with–verbose)- Suppressed findings do not count toward the security score or exit code
- Suppressed findings are logged at INFO level so they remain auditable
Finding rule IDs
Run the scanner with –format json and check each finding’s rule_ field: