Skip to content

Commit

Permalink
Update pkg/cmd/attestation/verify/verify.go
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Steindler <steiza@github.com>
  • Loading branch information
malancas and steiza authored May 28, 2024
1 parent 79ce43d commit 9cb4ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/attestation/verify/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func NewVerifyCmd(f *cmdutil.Factory, runF func(*Options) error) *cobra.Command
verifyCmd.Flags().StringVarP(&opts.SANRegex, "cert-identity-regex", "i", "", "Enforce that the certificate's subject alternative name matches the provided regex")
verifyCmd.MarkFlagsMutuallyExclusive("cert-identity", "cert-identity-regex")
verifyCmd.Flags().StringVarP(&opts.SignerRepo, "signer-repo", "", "", "Repository of reusable workflow that signed attestation in the format <owner>/<repo>")
verifyCmd.Flags().StringVarP(&opts.SignerWorkflow, "signer-workflow", "", "", "Enforce that the attestation signing originated from a given workflow")
verifyCmd.Flags().StringVarP(&opts.SignerWorkflow, "signer-workflow", "", "", "Workflow that signed attestation in the format <owner>/<repo>/<path>/<to>/<workflow>")
verifyCmd.MarkFlagsMutuallyExclusive("signer-repo", "signer-workflow")
verifyCmd.MarkFlagsMutuallyExclusive("signer-repo", "cert-identity-regex")
verifyCmd.MarkFlagsMutuallyExclusive("signer-workflow", "cert-identity")
Expand Down

0 comments on commit 9cb4ccf

Please sign in to comment.