scan_repository
Scan Git repositories to identify vulnerabilities, misconfigurations, and secrets using Trivy.
Instructions
Scan a git repository (local or remote URL) for vulnerabilities, misconfigurations, and secrets using Trivy.
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": {
"url": "<url>"
},
"name": "scan_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Git repository URL or local path | |
| branch | No | Branch to scan (default: HEAD) | |
| timeout | No | Timeout in seconds (default: 180) | |
| scanners | No | Scanner types: vuln,misconfig,secret,license | |
| severity | No | Severities to filter |