scan_config_change
Compare before and after config versions to detect security downgrades like CORS relaxation, CSP weakening, HSTS removal, debug modes, and hardcoded secrets. Identifies vulnerable changes before deployment.
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 |
|---|---|---|---|
| before | Yes | Previous config file content | |
| after | Yes | New config file content | |
| file_path | No | Config file path for context | config |
| format | No | Output format | json |