scan_image
Scan a container image for vulnerabilities and secrets using Trivy or Grype. Configurable severity threshold and output format.
Instructions
Scan a container image for vulnerabilities and secrets.
Pulls and analyzes a container image reference (e.g. nginx:1.25,
ghcr.io/org/app@sha256:...) with Trivy or Grype, returning the same
normalized findings as a source scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_ref | Yes | The image reference to scan. | |
| scanner_name | No | 'trivy' (default) or 'grype'. | trivy |
| min_severity | No | Minimum severity to report (LOW, MEDIUM, HIGH, CRITICAL). | MEDIUM |
| output_format | No | 'markdown' (default) or 'json'. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |