mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-05-07 00:56:39 +00:00
* update * update * update * tests * update * update * update * update * update * update * update * update * update * update * comments * update * update * update * update * update
18 lines
541 B
Go
18 lines
541 B
Go
package verification
|
|
|
|
// ProvenanceOpts are the options for checking provenance information.
|
|
type ProvenanceOpts struct {
|
|
// ExpectedDigest is the expected artifact sha included in the provenance
|
|
ExpectedDigest string
|
|
|
|
// ExpectedBranch is the expected branch (github_ref or github_base_ref) in
|
|
// the invocation parameters.
|
|
ExpectedBranch string
|
|
|
|
// ExpectedTag is the expected tag, github_ref, in the invocation parameters.
|
|
ExpectedTag *string
|
|
|
|
// ExpectedVersionedTag is the expected versioned tag
|
|
ExpectedVersionedTag *string
|
|
}
|