Skip to main content
POST
Verify images against an application's provenance policy

Authorizations

Authorization
string
header
required

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

Path Parameters

application_id
string<uuid>
required

Body

application/json

Name images to dry-run them, or environment_id to check now what each installation of that environment was deployed with. A body naming both is refused with 422.

images
string[]
Required array length: 1 - 32 elements
Maximum string length: 512
environment_id
string

An environment as the environments read lists it: a stored environment's id, or the cluster id of a placement no stored environment claims. The platform names the images itself, from each installation's stored manifests and deploy inputs, and keeps one check per installation.

Response

The verdict and the decision a deploy would reach.

application_id
string<uuid>
required
mode
enum<string>
required
Available options:
off,
warn,
enforce
decision
enum<string>
required

What a deploy of these images under the application's mode would do.

Available options:
deploy,
deploy_with_finding,
refuse,
not_checked
verdict
object
required
checks
object[]

Check now only (environment_id): one entry per installation checked, each kept as its last check. Absent from a dry-run of named images.

Maximum array length: 20
checks_capped
boolean

Check now only: the environment holds more than 20 installations, and only the first 20 were checked.

images_capped
boolean

Check now only: the verdict's images were cut at 32, or its unchecked images at 64, refused and unknown images first.