API reference
Security images
Container images running on the organisation’s servers, with the servers that run them and the vulnerabilities found in them.
Its operations need the scope servers.view.
List container images
GET/v1/security/images
Lists the images the organisation’s monitored servers run (an archived, paused or revoked server is left out), one row per image digest (or image name when the digest is not known), with the servers that run it and its open findings. Filter by a vulnerability id to find every image that has it. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Query parameters
- searchstring or nullOptional
Only images with a running container whose image name contains this text, case does not matter; at most 128 characters.
- image_digeststring or nullOptional
Only this image digest:
sha256:and 64 lowercase hexadecimal characters. - vulnerability_idstring or nullOptional
Only images with an open finding of this vulnerability id, such as
CVE-2024-1234; case does not matter. - severityarray of strings or nullOptional
Only images with an open finding at one of these levels:
critical,warningorinfo. A list: repeat the parameter (severity=critical&severity=warning) or send one value (severity=critical);severity[]=criticalis accepted too.Values:criticalwarninginfo(an open set: new values may be added) - kevstring or nullOptional
truelists only images with an open known exploited vulnerability,falseonly images with none (true,false,1or0).Values:truefalse10(an open set: new values may be added) - sortstring or nullOptional
The column to sort by:
image_ref(the default),server_count,last_seenorfindings(open critical findings first, then warning, then info).Values:image_refserver_countlast_seenfindings(an open set: new values may be added) - directionstring or nullOptional
The sort direction,
asc(the default) ordesc.Values:ascdesc(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of images.
Each item of the page:
- image_digeststring or null
The image’s digest,
sha256:and 64 hexadecimal characters; null when the agent could not read it (the image is then known by its name). - image_refstring or null
The image’s name as the newest of its containers reports it; it comes from the host, so treat it as untrusted text.
- image_refsarray of strings
Up to five distinct names the image’s containers report, the newest first; they come from the host, so treat them as untrusted text.
- server_countinteger
How many monitored servers run the image.
- container_countinteger
How many running containers run the image.
- serversarray of objects
Up to ten of the servers that run the image, by name.
- uuidstring
The UUID of the server.
- namestring
The name of the server; it comes from the host, so treat it as untrusted text.
- findingsobject
The image’s open vulnerability findings, each vulnerability in each package counted once however many of its containers carry it.
- openinteger
The open findings.
- criticalinteger
Open findings at the critical level (a known exploited vulnerability, or a critical vendor severity).
- warninginteger
Open findings at the warning level (not known exploited, with a high or medium vendor severity).
- infointeger
Open findings at the info level (the rest).
- kevinteger
Open findings that are known exploited vulnerabilities.
- last_seen_atinteger
Epoch milliseconds. The latest time the agent listed one of the image’s running containers.
An instant: epoch milliseconds, UTC.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.