Verify a cosign signature
verify_cosign_signatureVerify a container image signature with cosign to confirm the image is authentic and untampered before use.
Instructions
Verify a container image signature with cosign.
**Reaches an external system**: shells out to a locally installed
``cosign`` binary (which contacts the registry and transparency log). No
optional Python extra is required, but the binary must be on ``PATH`` --
otherwise the tool returns an ``EP_EXTERNAL_TOOL`` error. For keyless
verification, supply ``certificate_identity`` and
``certificate_oidc_issuer``.
Args:
image_ref: The container image reference to verify.
certificate_identity: The keyless certificate identity (optional).
certificate_oidc_issuer: The keyless OIDC issuer URL (optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_ref | Yes | The container image reference to verify. | |
| certificate_identity | No | Keyless certificate identity. | |
| certificate_oidc_issuer | No | Keyless OIDC issuer URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||