Update pkg/cmd/attestation/verification/policy.go
Co-authored-by: Phill MV <phillmv@github.com>
This commit is contained in:
parent
4b83d8e73b
commit
c7d3e6daeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue