Skip to content

mw gitlab attestation verify

Releasev0.35.0 · cfeceb67

mw gitlab attestation verify <project_id> <artifact_path> [flags]

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.

-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
# 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
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.