mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-05-06 16:46:57 +00:00
* update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> * update Signed-off-by: laurentsimon <laurentsimon@google.com> --------- Signed-off-by: laurentsimon <laurentsimon@google.com>
37 lines
1021 B
Go
37 lines
1021 B
Go
package options
|
|
|
|
// ProvenanceOpts are the options for checking provenance information.
|
|
type ProvenanceOpts struct {
|
|
// 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
|
|
|
|
// ExpectedDigest is the expected artifact sha included in the provenance.
|
|
ExpectedDigest string
|
|
|
|
// ExpectedSourceURI is the expected source URI in the provenance.
|
|
ExpectedSourceURI string
|
|
|
|
// ExpectedBuilderID is the expected builder ID.
|
|
ExpectedBuilderID string
|
|
|
|
// ExpectedWorkflowInputs is a map of key=value inputs.
|
|
ExpectedWorkflowInputs map[string]string
|
|
|
|
ExpectedPackageName *string
|
|
|
|
ExpectedPackageVersion *string
|
|
}
|
|
|
|
// BuildOpts are the options for checking the builder.
|
|
type BuilderOpts struct {
|
|
// ExpectedID is the expected builder ID.
|
|
ExpectedID *string
|
|
}
|