scout_cves
List vulnerabilities (CVEs) in a container image using Docker Scout, with options to filter by severity, only fixed versions, and ignore base image issues.
Instructions
List vulnerabilities (CVEs) in an image via Docker Scout.
Anonymous scans work for public images; Hub policy enforcement and richer recommendations need
docker login on the host that runs the CLI — this server's host, or the target ssh:// host
itself when no local scout plugin is installed. Start with scout_quickview for a
per-severity summary; scout_sbom inventories packages without vulnerability matching.
Does not raise on a non-zero CLI exit (a missing scout plugin still raises) — inspect
raw.stderr.
args: image - Image reference (a tag or a digest) only_fixed - Only report CVEs with a fixed version available only_severity - Filter to severities: "critical", "high", "medium", "low", "unspecified" ignore_base - Exclude CVEs introduced by the base image format - Output format: "json" (default; parsed into the return dict), "sarif", "spdx", "list", "markdown", or "text" platform - Platform of the image to analyze, e.g. "linux/amd64" returns: dict - {"format": , "result": , "raw": }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| format | No | json | |
| platform | No | ||
| only_fixed | No | ||
| ignore_base | No | ||
| only_severity | No |