| title | `glab attestation verify` |
|---|---|
| stage | Create |
| group | Code Review |
| info | To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments> |
Verify the provenance of a specific artifact or file. (EXPERIMENTAL)
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]
# 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 -h, --help Show help for this command.