trivy_scan
Run vulnerability scans on container images, filesystems, repositories, and configs; filter by severity and export results as JSON, table, or SARIF.
Instructions
Execute Trivy for container and filesystem vulnerability scanning.
Args: scan_type: Type of scan (image, fs, repo, config) target: Target to scan (image name, directory, repository) output_format: Output format (json, table, sarif) severity: Severity filter (UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL) output_file: File to save results additional_args: Additional Trivy arguments
Returns: Vulnerability scan results
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trivy_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| severity | No | ||
| scan_type | No | image | |
| output_file | No | ||
| output_format | No | json | |
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |