Synopsis
Exits with non-zero code if the artifact has not been approved. The artifact fingerprint can be provided directly with the
--fingerprint flag, or
calculated based on --artifact-type flag.
Artifact type can be one of: “file” for files, “dir” for directories, “oci” for container
images in registries or “docker” for local docker images.
Flags
Flags inherited from parent commands
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
Assert that a file type artifact has been approved
Assert that a file type artifact has been approved
Assert that an artifact with a provided fingerprint (sha256) has been approved
Assert that an artifact with a provided fingerprint (sha256) has been approved