provenance generate

Generate unsigned SLSA build provenance for 'devguard-scanner provenance sign'

Synopsis

Generate an in-toto statement with a SLSA v1 provenance predicate for the artifacts a CI run built.

The statement only contains what the CI job knows itself: the built artifacts (subjects), the inputs the workflow was called with and when the build ran. Everything describing the build platform - the builder, the workflow, the source commit - is set by DevGuard from the verified workload identity token when signing with 'devguard-scanner provenance sign'.

Container images are passed with --image as image references with their manifest digest, so the provenance matches the image it is attached to. Files, e.g. release tarballs, are passed with --path, hashed and recorded under their file name. Both take a comma separated list.

Examples

Options

Options inherited from parent commands

Have feedback? We want to hear from you!

Fields marked with * are required