Merge pull request #11616 from Vincent056/concurrent #2230
k8s-content.yaml
on: push
container-main
/
container
3m 50s
Annotations
1 warning and 4 notices
container-main / sbom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: anchore/sbom-action/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify signature
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:22e91a6a6f5dc5f0cbd28e86e2073e3e38ffc4bbf4e7599767d6f030c7940540 | jq '.[0]'
|
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:22e91a6a6f5dc5f0cbd28e86e2073e3e38ffc4bbf4e7599767d6f030c7940540 | 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:22e91a6a6f5dc5f0cbd28e86e2073e3e38ffc4bbf4e7599767d6f030c7940540 | 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:22e91a6a6f5dc5f0cbd28e86e2073e3e38ffc4bbf4e7599767d6f030c7940540 | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType == "https://spdx.dev/Document") | .predicate.Data | fromjson'
|