scan_changed_files
Scan only files changed since a git ref to detect security vulnerabilities. Run in PR checks, pre-push hooks, and incremental CI to find issues in new code without full repository scans.
Instructions
Scan only files that have changed since a given git ref (branch, commit, or HEAD~N). Ideal for PR checks, pre-push hooks, and incremental CI. Returns findings only for modified/added files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Repository root path | . |
| base | No | Git ref to diff against (e.g. 'main', 'HEAD~3', commit SHA) | HEAD~1 |
| format | No | Output format | markdown |