Update pkg/cmd/attestation/verification/policy.go

Co-authored-by: Phill MV <phillmv@github.com>
This commit is contained in:
Meredith Lancaster 2024-11-25 14:49:44 -07:00 committed by GitHub
parent 862786cca6
commit 241bb2edd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,7 @@ func (c EnforcementCriteria) BuildPolicyInformation() string {
The following policy criteria will be enforced against all attestations:
- Predicate type must match %s
- Signing certificate's OIDC issuer must match %s
- Artifact must be built in an organization whose URI is %s`
- Source Repository Owner URI must match %s`
info := fmt.Sprintf(template, c.PredicateType, c.Certificate.Issuer, c.Certificate.SourceRepositoryOwnerURI)