sec_audit_rules_check
Explains deterministically which scanners, Semgrep baseline/AI rules, custom repo rules, severity overrides, and ignore entries apply to a file and why. Use it to verify audit routing.
Instructions
Explain deterministically which scanners, Semgrep baseline/AI rules, custom repo rules (.sec-audit-rules.json), severity overrides, and .sec-audit-ignore entries apply to a file and why.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_dir": "<target_dir>",
"file_path": "<file_path>"
},
"name": "sec_audit_rules_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Relative or absolute path to inspect | |
| target_dir | Yes | Repository root directory |