Files
slsa-verifier/verification/options.go
laurentsimon caaf1c1b8e feat: Create a verifier as a service (#182)
* update

* update

* update

* tests

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* comments

* update

* update

* update

* update

* update
2022-08-03 14:29:25 -07:00

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
}