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:50:16 -07:00 committed by GitHub
parent 4b83d8e73b
commit c7d3e6daeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ The following policy criteria will be enforced against all attestations:
}
if c.SAN != "" {
info += fmt.Sprintf("\n- Signing certificate must have a Subject Alternative Name matching the exact value %s", c.SAN)
info += fmt.Sprintf("\n- Signing certificate Subject Alternative Name must match %s", c.SAN)
} else if c.SANRegex != "" {
info += fmt.Sprintf("\n- Signing certificate must have a Subject Alternative Name matching the regex %s", c.SANRegex)
}