scan_config_change
Compare before and after config file versions to detect security downgrades such as CORS relaxation, CSP weakening, HSTS removal, debug mode, and other misconfigurations.
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 |