devanvil_scan_directory
Recursively scan a local directory for leaked secrets, respecting .gitignore and skipping binaries and node_modules; optionally return SARIF 2.1.0 for code scanning.
Instructions
Recursively scan a local directory for leaked secrets (respects .gitignore, skips binaries/node_modules) and optionally return SARIF 2.1.0.
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": {
"directory": "<directory>"
},
"name": "devanvil_scan_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sarif | No | Return SARIF 2.1.0 JSON format for GitHub Code Scanning. | |
| directory | Yes | Path to directory or file to scan. |