scan_docker_image
Scan Docker images for vulnerabilities with Trivy, using a configurable severity threshold to surface security issues before deployment.
Instructions
Scan a Docker image for vulnerabilities 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": {
"image": "<image>"
},
"name": "scan_docker_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Docker image name and tag (e.g., nginx:latest) | |
| severity | No | Minimum severity level (UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL) | HIGH |