Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1020 Bytes

witness_verify.md

File metadata and controls

35 lines (24 loc) · 1020 Bytes

witness verify

Verifies a witness policy

Synopsis

Verifies a policy provided key source and exits with code 0 if verification succeeds

witness verify [flags]

Options

  -f, --artifactfile string    Path to the artifact to verify
  -a, --attestations strings   Attestation files to test against the policy
  -h, --help                   help for verify
  -p, --policy string          Path to the policy to verify
      --policy-ca strings      Paths to CA certificates to use for verifying the policy
  -k, --publickey string       Path to the policy signer's public key
  -r, --rekor-server string    Rekor server from which to fetch attestations

Options inherited from parent commands

  -c, --config string      Path to the witness config file (default ".witness.yaml")
  -l, --log-level string   Level of logging to output (debug, info, warn, error) (default "info")

SEE ALSO

  • witness - Collect and verify attestations about your build environments