Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VerifyCmd = &cobra.Command{ Use: "verify", Short: "Verify attestations, commit signatures, source provenance, and policies", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, _ []string) error { return cmd.Help() }, Long: `Commands for verifying artifact attestations, commit signatures, source provenance, and repository policies. Examples: # Verify GitHub artifact attestations autogov verify attestation --blob-path artifact.tar.gz --repo org/repo # Verify gitsign commit signatures autogov verify git HEAD # Verify source provenance autogov verify source --attestation-path bundle.json --repo-uri https://github.com/org/repo --commit abc123 # Verify repository policy autogov verify policy --ref refs/heads/main`, }
VerifyCmd is the parent command for all verify operations.
Functions ¶
func NewVerifyCmdForTesting ¶
NewVerifyCmdForTesting creates a fresh VerifyCmd instance for use in tests.
func SetBuildInfo ¶
func SetBuildInfo(v, opa string)
SetBuildInfo sets build-time version information for VSA generation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.