Skip to content

Merge pull request #11545 from ComplianceAsCode/container_security #2185

Merge pull request #11545 from ComplianceAsCode/container_security

Merge pull request #11545 from ComplianceAsCode/container_security #2185

Triggered via push February 13, 2024 19:51
Status Success
Total duration 4m 9s
Artifacts

k8s-content.yaml

on: push
container-main  /  container
3m 43s
container-main / container
container-main  /  sign
5s
container-main / sign
container-main  /  sbom
11s
container-main / sbom
Fit to window
Zoom out
Zoom in

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:d39b730c9bb2512982b67b0639bc13b5b7e8b7bff0aa17605b4e59fa87d11ffe | jq '.[0]'
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:d39b730c9bb2512982b67b0639bc13b5b7e8b7bff0aa17605b4e59fa87d11ffe | 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:d39b730c9bb2512982b67b0639bc13b5b7e8b7bff0aa17605b4e59fa87d11ffe | 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:d39b730c9bb2512982b67b0639bc13b5b7e8b7bff0aa17605b4e59fa87d11ffe | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType == "https://spdx.dev/Document") | .predicate.Data | fromjson'