scan_config_change
Compare two config file versions to detect security downgrades, including CORS relaxation, CSP weakening, HSTS removal, debug mode, cookie flag changes, TLS disabling, new hardcoded secrets, and removed security headers.
Instructions
Compare before/after versions of a config file to detect security downgrades: CORS relaxation, CSP weakening, HSTS removal, debug mode, cookie flag changes, TLS disabling, new hardcoded secrets, removed security headers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | New config file content | |
| before | Yes | Previous config file content | |
| format | No | Output format | json |
| file_path | No | Config file path for context | config |