Merge pull request #11948 from marcusburghardt/macro_readability #2447
k8s-content.yaml
on: push
container-main
/
container
2m 55s
Annotations
4 notices
Verify signature
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:79d267a07b06524929ea5bd2170f42611ba884fc9c1c72e81dd7a28b728cf689 | jq '.[0]'
|
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:79d267a07b06524929ea5bd2170f42611ba884fc9c1c72e81dd7a28b728cf689 | jq '.[0].optional.Bundle.Payload.body |= @base64d | .[0].optional.Bundle.Payload.body | fromjson'
|
Inspect certificate
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:79d267a07b06524929ea5bd2170f42611ba884fc9c1c72e81dd7a28b728cf689 | jq -r '.[0].optional.Bundle.Payload.body |= @base64d | .[0].optional.Bundle.Payload.body | fromjson | .spec.signature.publicKey.content |= @base64d | .spec.signature.publicKey.content' | openssl x509 -text
|
Verify SBOM attestation
COSIGN_EXPERIMENTAL=1 cosign verify-attestation ghcr.io/complianceascode/k8scontent@sha256:79d267a07b06524929ea5bd2170f42611ba884fc9c1c72e81dd7a28b728cf689 | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType == "https://spdx.dev/Document") | .predicate.Data | fromjson'
|