Skip to main content
GET
Find the image tags that carry a fix

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Query Parameters

project_id
string

The project to read: a project's UUID, or all for the whole organisation. Absent, the project the request acts in. A pinned token and a member limited to projects get a 403 for anything past their project.

image
string
required

The image: repository:tag or repository:tag@sha256:..., with or without a registry.

cve_id
string

The vulnerability by CVE id. Name it, or finding_id, or both.

finding_id
string<uuid>

The vulnerability by security finding id; supplies the CVE id when cve_id is absent.

Response

Successful response

Which newer tags of an image carry the fix for one vulnerability, read from what Ankra has already scanned. A registry that could not be read is named in registry.state, never answered as an empty list.

image
string
required

The image as it was asked about.

cve_id
string
required

The vulnerability, resolved from the finding when one was named.

running
object
required

What the organisation's findings say the running image carries.

answer
object
required
candidates
object[]
required

The newer tags examined, each with its verdict and evidence.

registry
object
required
unexamined_tags
string[]
required

Newer tags the read did not examine; they may carry the fix.

how_to_read
string
required