Container Scanning

Get a container image

Retrieve a tracked container image with its latest scan summary and queue state. The queued flag is true when a scan is enqueued but no ContainerScan exists yet; latestScan is null until the first scan runs. This is the endpoint to poll after containerScans.submit.

post/api/v2/containerImages/get

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Organization ID (optional).

containerImageIdstring required

ID of the container image.

Response

Container image retrieved

queuedboolean required

True when a scan is enqueued (a StagedContainerScan exists) and not yet promoted to a running ContainerScan. Stays true for a re-scan even if a prior finished scan exists, so callers wait for the new run.

Changes

No recorded changes to this operation across all 1 revision of this API.