attest
Create and upload an attestation for an image or artifact
Synopsis
Create and upload an attestation for an OCI image or a local predicate file.
The first argument is a path to a local predicate JSON file that will be used as the attestation payload. Optionally provide a container image reference as the second argument to attach the attestation to that image.
This command validates the predicate file exists, signs the upload using the configured token, and sends it to the DevGuard backend. The HTTP header X-Predicate-Type is populated from the --predicateType flag (required).