verify

package
v0.32.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

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",
	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

func NewVerifyCmdForTesting() *cobra.Command

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL