av image findings
List the container findings the server currently holds for a project, each tiered REDYELLOWGREEN.
Synopsis
Section titled “Synopsis”av image findings [flags]Description
Section titled “Description”av image findings pulls a project’s container findings from the server - the
consolidated result of every image uploaded with av image scan --project. You
must be logged in (av login), and --project is required. The same findings
appear on the project’s Containers page in the web app, split into
base image layers and your layers.
Three filters narrow the list. --image keeps findings for a single scanned
image. --state selects open (the default), all, or fixed findings.
--severity keeps one tier: red, yellow, or green. --json prints the
raw JSON payload instead of the table.
Options
Section titled “Options”| Flag | Default | Description |
|---|---|---|
--project |
- | Project ID (required) |
--image |
- | Filter to a single scanned image id |
--state |
open |
Finding state: open, all, or fixed |
--severity |
- | Filter by severity: red, yellow, or green |
--json |
false |
Output raw JSON instead of a table |
Examples
Section titled “Examples”List a project’s open container findings:
av image findings --project <projectId>Focus on what needs action now - open RED findings only:
av image findings --project <projectId> --severity red --state openPull one image’s findings as JSON, for scripting or piping into jq:
av image findings --project <projectId> --image <imageId> --jsonExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
Findings listed, even when the list is empty |
1 |
Not logged in, missing --project, invalid --state or --severity, or the API request failed |
See also
Section titled “See also”av image scan- scan an image and upload findings to a projectav image list- list a project’s scanned images- Container image scanning - what container scanning covers