glab attestation verify

Verify the provenance of a specific artifact or file. (EXPERIMENTAL)

Synopsis

This command is experimental.

For more information about attestations, see:

This command requires the cosign binary. To install it, see, Cosign installation.

This command works with GitLab.com only.

glab attestation verify <project_id> <artifact_path> [flags]

Examples

# Verify attestation for the filename.txt file in the gitlab-org/gitlab project.
$ glab attestation verify gitlab-org/gitlab filename.txt

# Verify attestation for the filename.txt file in the project with ID 123.
$ glab attestation verify 123 filename.txt

Options inherited from parent commands

  -h, --help   Show help for this command.