Build the image once, by digest, inside an isolated reusable CI workflow. Generate an SBOM with Syft. Sign the image and attest the SBOM with cosign keyless signing, and attach signed SLSA provenance. All three are signed by the same short-lived Sigstore identity. Then make your cluster refuse any image that lacks all three, signed by that exact workflow. Signing without deploy-time verification is theatre. On GitHub Actions, this design gets you to SLSA Build Level 3 with no long-lived signing keys.
The rest of this post is the working version: the workflows, the admission policy, the traps we see teams fall into, and a control matrix that tells you which attacks this actually stops and which it doesn't.
01What SLSA, SBOMs and Sigstore each do (and don't)
These three get mentioned together so often that people treat them as one thing. They answer different questions.
| Question it answers | Artefact | What it does not do | |
|---|---|---|---|
| SLSA provenance | Where, how and from what source was this built? | in-toto statement, predicate type https:// |
Say whether the source or dependencies were any good |
| SBOM | What is inside this artefact? | SPDX or CycloneDX document | Say whether the list is complete, or whether anything is exploitable |
| Sigstore (cosign, Fulcio, Rekor) | Who signed this, and was it recorded publicly? | Signature or attestation bundle, plus a transparency log entry | Say anything about the contents beyond "this identity vouched for it" |
| Admission policy | Should this cluster run it? | Kyverno / policy-controller rules | Re-check images that are already running |
The value only appears when you chain them. A signed SBOM tells you the contents were vouched for by your release workflow. Signed provenance tells you that workflow built it from a specific commit. The admission policy is what turns both into a decision.
02What SLSA levels mean in practice
The current spec is SLSA v1.2, released in November 2025. It is backwards compatible with v1.1 and adds a Source track (levels 1–4, covering version control, history integrity and two-party review) alongside the Build track. There is no Build L4 in v1.2. Most of the "SLSA level" conversations you will have are about the Build track, so that is our focus here.
The Build track requirements, translated into what you actually do:
| Level | Spec requirement | What it means on GitHub Actions | Stops |
|---|---|---|---|
| Build L0 | Nothing | You build on someone's laptop and push | Nothing |
| Build L1 | Provenance exists, describing builder, process and top-level inputs | BuildKit's default provenance attestation, unsigned | Release mistakes, "which commit is prod?" confusion |
| Build L2 | Hosted build platform generates and signs provenance | actions/ in a normal workflow |
Tampering with the artefact after the build |
| Build L3 | Hardened platform: runs isolated from each other, signing material inaccessible to user-defined build steps | actions/ inside a reusable workflow the caller cannot modify |
Tampering during the build by the calling repo, leaked credentials being used to forge provenance |
GitHub's own docs say it directly: artifact attestations on their own give SLSA v1.0 Build Level 2, and running them inside a reusable workflow that isolates the build from the calling workflow gives Build Level 3.
Our view: L2 is the floor for anything you ship to customers. L3 is worth it once more than a handful of repos ship images, because the reusable workflow also gives you one signing identity to verify across the whole organisation. That is a bigger operational win than the level itself.
What no Build level gives you: protection from a malicious maintainer committing a backdoor to source, or from a compromised dependency you pulled in on purpose. Provenance faithfully records that you built the bad thing.
03The reference pipeline
Here is the architecture we would deploy for a team shipping containers to Kubernetes from GitHub Actions and GHCR. If you are still deciding whether you need Kubernetes at all, the CI half applies unchanged; only the admission step is Kubernetes-specific.
+- acme/api (caller repo) ------------------+
| release.yml |
| - grants perms |
| - passes image name |
+---------------------+---------------------+
| uses: @v1.4.0
v
+- acme/platform-workflows (platform team) -----------------+
| oci-release.yml (on: workflow_call) |
| |
| job: build (no id-token) |
| checkout -> buildx push -> digest |
| syft SBOM -> upload-artifact |
| |
| job: attest (id-token: write) |
| cosign sign --+ |
| cosign attest (SBOM) +--> Fulcio cert, SAN = this |
| actions/attest (SLSA) --+ workflow |
+-----------------------------+-----------------------------+
| (OCI referrers)
v
GHCR: image + signature + SBOM + provenance
Rekor: transparency log entries
|
v
Kubernetes API server -> Kyverno ImageValidatingPolicy
"signed + SBOM + provenance, by oci-release.yml@refs/tags/v*"
pass -> pod admitted (tag rewritten to digest)
fail -> deniedThree design decisions carry most of the weight.
1. The build and the signing live in a separate repo the application team cannot edit. When a job calls a reusable workflow, the Fulcio certificate's identity comes from the job_ claim: the reusable workflow, not the caller (Fulcio OID reference). So your verifier pins one identity, acme/, for every service in the organisation. A developer who edits acme/ cannot produce a signature that passes.
2. The job that can mint an OIDC token runs almost nothing. Keyless signing removes the long-lived key. It does not remove the risk. Any step in a job with id-token: write can request a token and get a valid certificate for your workflow identity. That job is now your signing key. The tj-actions/changed-files compromise (March 2025, more than 23,000 repositories) and the Trivy compromise (March 2026, 76 of 77 trivy-action version tags force-pushed to an infostealer) both ran attacker code inside ordinary CI jobs. If either had run in a job holding id-token: write, it could have signed anything. So SBOM generation, scanning and everything else third-party run in the build job, which has no OIDC permission. The attest job runs only cosign, GitHub's first-party actions and a registry login.
3. Everything is addressed by digest. Tags are mutable pointers. You sign ghcr., attest that digest and verify that digest. Then you rewrite the pod spec to that digest at admission.
The reusable workflow (platform repo)
Actions are pinned to full commit SHAs. The tags in comments are the latest releases at the time of writing. Pin by SHA and let Dependabot or Renovate bump them. The Trivy attack worked precisely by moving tags. The wider workflow controls, from OIDC trust policies to pull_, are in our guide to hardening GitHub Actions.
# acme/platform-workflows/.github/workflows/oci-release.yml
name: oci-release
on:
workflow_call:
inputs:
image:
description: "Fully qualified, lowercase image name, e.g. ghcr.io/acme/api"
type: string
required: true
context:
type: string
default: "."
outputs:
digest:
value: ${{ jobs.build.outputs.digest }}
permissions: {}
jobs:
build:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
outputs:
digest: ${{ steps.push.outputs.digest }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: push
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ${{ inputs.context }}
push: true
tags: ${{ inputs.image }}:${{ github.sha }}
# We produce signed provenance and SBOM ourselves in the attest job.
provenance: false
sbom: false
- uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3
with:
image: ${{ inputs.image }}@${{ steps.push.outputs.digest }}
format: spdx-json
output-file: sbom.spdx.json
upload-artifact: false
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: sbom
path: sbom.spdx.json
retention-days: 1
attest:
needs: build
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
id-token: write # Fulcio certificate via GitHub OIDC
attestations: write # actions/attest storage
artifact-metadata: write # actions/attest storage record
env:
REF: ${{ inputs.image }}@${{ needs.build.outputs.digest }}
steps:
- uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
with:
cosign-release: v3.1.3
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: sbom
- name: Sign image (keyless)
run: cosign sign --yes "$REF"
- name: Attest SBOM
run: cosign attest --yes --type spdxjson --predicate sbom.spdx.json "$REF"
- name: Attest SLSA build provenance
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
with:
subject-name: ${{ inputs.image }}
subject-digest: ${{ needs.build.outputs.digest }}
push-to-registry: trueA few details worth pointing out:
REFis passed throughenv, never interpolated with${{ }}insiderun:. That closes the script-injection hole if a caller passes a hostileimagestring.- When
actions/gets noattest sbom-pathand no predicate inputs, it auto-generates SLSA build provenance. Withpush-to-registry: true, it stores the bundle in the registry next to the image, so the cluster can find it without calling GitHub's API. - BuildKit can generate its own provenance and SBOM.
docker/adds provenance by default:build-push-action mode=maxfor public repos,mode=minfor private. Those attestations are produced inside the build step and are not signed by an identity your policy trusts. We switch them off to avoid two sources of truth. - Syft writes SPDX 2.3 by default for
spdx-json, and CycloneDX 1.7 forcyclonedx-json(formats). Pick one and standardise. We use SPDX here because GitHub's attestation tooling and most procurement questionnaires ask for it. CycloneDX is just as good if your scanners prefer it.
The caller (application repo)
# acme/api/.github/workflows/release.yml
name: release
on:
push:
branches: [main]
permissions: {}
jobs:
release:
permissions:
contents: read
packages: write
id-token: write
attestations: write
artifact-metadata: write
uses: acme/platform-workflows/.github/workflows/oci-release.yml@v1.4.0
with:
image: ghcr.io/acme/apiNotice the one place we reference by tag rather than SHA. That is deliberate. The tag ends up in the certificate identity (…/), and the admission policy matches on refs/. If callers could pin any SHA, the verifier would have to accept any commit in the platform repo, including commits on unreviewed branches. Instead, publish platform workflow versions as immutable releases (GA since October 2025) so the tag cannot be moved or deleted. In the Trivy incident, the one trivy-action tag the attacker could not rewrite was the one protected by immutable releases.
Public or private Sigstore: decide this before you start
The pipeline above signs against the public-good Sigstore instance. That has a consequence people miss: every signature writes an entry to the public Rekor transparency log. The entry includes the certificate, and the certificate includes your repository and workflow path. For open-source projects, that is the point. For a private monorepo called acme/, it is a leak.
actions/ handles this for you. It uses the public-good instance for public repos and GitHub's private Sigstore instance for private and internal repos, which needs GitHub Enterprise Cloud. Plain cosign sign does not make that choice. It goes to public-good unless you configure otherwise.
Practical options for private code:
- Use
actions/for everything. Drop the rawattest cosign sign. Attest the SBOM withsbom-path:and let provenance stand in as the signature. Your verifier then trusts GitHub's root.gh attestation trusted-rootprints a JSON Lines file with one trusted root per line, covering both the public-good instance and GitHub's. Kyverno'strustedRoottakes a single trusted-root JSON document, so store GitHub's line, not the whole output, in a ConfigMap and reference it as in the Kyverno trusted-root example. - Run your own Sigstore (Fulcio, Rekor v2, TUF root) if you are not on GitHub Enterprise Cloud or need cross-CI signing. This is real operational work. Budget for it as a service, not a weekend.
- Use a KMS key with
cosign sign --key awskms://and accept key management back into your life. This is the right call in air-gapped environments.…
If your repos are public, or the names are genuinely not sensitive, the pipeline as written is fine. Either way, write the choice down as an architecture decision record, because it decides which trust root every verifier in the estate pins.
04Verifying at deploy: Kubernetes admission policy
Nothing above matters until something refuses unsigned images. We use Kyverno's Image, which Kyverno 1.17 promoted to policies.. The current release is v1.19.1. The same release marks the older Cluster type as deprecated, so new verify rules should not be written there.
apiVersion: policies.kyverno.io/v1
kind: ImageValidatingPolicy
metadata:
name: require-platform-signed-images
spec:
validationActions: [Deny] # start with [Audit]; see the rollout runbook
webhookConfiguration:
timeoutSeconds: 15
matchConstraints:
resourceRules:
- apiGroups: [""]
apiVersions: ["v1"]
resources: ["pods"]
operations: ["CREATE", "UPDATE"]
namespaceSelector:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: NotIn
values: ["kube-system", "kyverno"]
matchImageReferences:
- glob: "ghcr.io/acme/*"
validationConfigurations:
mutateDigest: true # rewrite tags to the verified digest
verifyDigest: true
required: true
attestors:
- name: platform
cosign:
keyless:
identities:
- issuer: "https://token.actions.githubusercontent.com"
subjectRegExp: '^https://github\.com/acme/platform-workflows/\.github/workflows/oci-release\.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$'
# No ctlog block: trust material comes from Sigstore's TUF root.
attestations:
- name: slsa
intoto:
type: "https://slsa.dev/provenance/v1"
- name: sbom
intoto:
type: "https://spdx.dev/Document"
validations:
- expression: >-
(images.containers + images.initContainers + images.ephemeralContainers).map(i, verifyImageSignatures(i, [attestors.platform])).all(n, n > 0)
message: "Image is not signed by the platform release workflow."
- expression: >-
(images.containers + images.initContainers + images.ephemeralContainers).map(i, verifyAttestationSignatures(i, attestations.slsa, [attestors.platform])).all(n, n > 0)
message: "Missing or untrusted SLSA provenance."
- expression: >-
(images.containers + images.initContainers + images.ephemeralContainers).map(i, verifyAttestationSignatures(i, attestations.sbom, [attestors.platform])).all(n, n > 0)
message: "Missing or untrusted SBOM attestation."Things this policy gets right, which we often see done wrong:
- The subject regex is anchored at both ends, and the dots are escaped.
https://also matchesgithub. com/ acme/. * https://. An unanchored regex is a policy that accepts strangers.github. com/ acme-evil/ … - The issuer is pinned. Without it, a certificate from any OIDC issuer Fulcio trusts, with a matching-looking subject, could pass.
mutaterewritesDigest ghcr.toio/ acme/ api: main ghcr.. The kubelet pulls exactly what was verified, not whatever the tag points at thirty seconds later.io/ acme/ api@sha256: … - System namespaces are excluded. You do not want your CNI's DaemonSet failing admission during a Rekor or registry incident while nodes are being replaced.
- Init and ephemeral containers are checked too. For pods, Kyverno exposes
images.,containers images.andinit Containers images.as separate lists, already filtered byephemeral Containers match. Checking onlyImage References images.lets an unsigned init container through.containers - No hardcoded Rekor URL. With
ctlogleft out, Kyverno takes the Rekor and certificate keys from Sigstore's TUF-distributed trusted root and checks the log proofs carried in each bundle, so new Rekor v2 shards need no policy change. Kyverno 1.19 also detects Sigstore bundles stored as OCI referrers on its own, which covers both cosign v3's default output and the bundlesactions/pushes withattest push-to-registry(verifier source).
Want to restrict which caller repos may deploy into which namespaces, such as only acme/ into payments? Use extract to read the provenance and check predicate. against the namespace. That field holds the calling repository as a full URL, such as https:// (buildType spec). The provenance format is https://, as shown in Kyverno's GitHub attestation example.
Verifying by hand
Run these when debugging, or in a deploy job for non-Kubernetes targets:
IMG=ghcr.io/acme/api@sha256:<digest>
ID='^https://github\.com/acme/platform-workflows/\.github/workflows/oci-release\.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$'
# Signature, pinned to the platform workflow AND the calling repo
cosign verify "$IMG" \
--certificate-identity-regexp "$ID" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-github-workflow-repository acme/api
# SBOM attestation
cosign verify-attestation "$IMG" --type spdxjson \
--certificate-identity-regexp "$ID" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
# SLSA provenance via GitHub's tooling
gh attestation verify "oci://$IMG" --owner acme \
--signer-workflow acme/platform-workflows/.github/workflows/oci-release.yml--certificate-github-workflow-repository checks the repository claim. That is the repo whose run produced the signature, which is the caller. Combined with the identity regex, it answers both "built by the approved process" and "built for this service". The gh attestation verify --signer-workflow form comes from GitHub's Build L3 guide.
Kyverno, policy-controller or your cloud's admission service?
| Option | Good fit | Watch out for |
|---|---|---|
Kyverno Image |
You already run Kyverno, or want one engine for image and resource policy | It is a big component. A webhook that fails closed is a cluster-wide dependency |
| Sigstore policy-controller (v0.15.1) | You want a narrow, Sigstore-only verifier | Smaller feature set. You still need something else for general policy |
| Managed (e.g. GKE Binary Authorization) | A single cloud, and you want the provider to run the control plane | Lock-in and narrower support. On GKE, the Sigstore signature check (Preview, Artifact Registry only) and the SLSA check (Cloud Build provenance only) run as continuous validation of running pods, not at admission |
| Notary Project (Notation) + Ratify | You are standardised on X.509 PKI and Azure tooling | A different signature format. Do not run both ecosystems without a reason |
Our default is Kyverno when it's already in the cluster, and policy-controller when it isn't and you only need image verification.
05Failure modes we see in real pipelines
- Signing the tag, not the digest.
cosign sign ghcr.resolves the tag at signing time. Anything that reads "signed" against the tag later is trusting a pointer. Always signio/ acme/ api: latest @sha256:. - Third-party actions in the job that holds
id-token: write. Covered above. This is the most common gap between "we sign" and "our signatures mean something". - Predicate type mismatch. cosign's
--type spdxjsonwrites predicate typehttps://(from in-toto-golang). GitHub's SBOM attestations usespdx. dev/ Document https://. A policy written for one silently finds nothing for the other. Then someone sets it to Audit "temporarily".spdx. dev/ Document/ v2. 3 - Format drift after a cosign upgrade. Cosign v3 (October 2025) turned on the standard Sigstore bundle format, trusted-root files and TUF-provided signing config by default, and stores signatures as OCI 1.1 referring artefacts. Older verifiers, scripts that walk
sha256-….tags, and registries without referrers support can stop seeing signatures. Upgrade verifiers before signers.sig cosign signexposes--registry-referrers-mode(legacy,oci-1-1) for registries that need it.--new-bundle-format=still works in cosign v3.1 as an opt-out to the old format, but it is deprecated and marked for removal, so treat it as a stopgap.false - Rekor v2 rollout surprises. Rekor v2 went GA in October 2025. It needs cosign v3.0.1+ or v2.6.0+. It drops the search index, batches writes (signing responses take "a few seconds") and shards to a new URL roughly every six months, with a 99.5% availability SLO on the public instance. Do not hardcode Rekor URLs in signers. Let the signing config drive them, and do not build tooling that depends on searching the log.
- Fail-closed webhooks with no break-glass. If Kyverno or its dependencies (registry, TUF mirror, Rekor) are unreachable and the webhook fails closed, you cannot schedule pods, and that includes autoscaling during an incident. Write down who can switch the policy to Audit, how, and how that action is logged. Rehearse it.
- Multi-arch images signed at the wrong level. Pods reference the image index digest. Sign and attest the index (what
build-push-actionreturns), not just a per-platform manifest. If any verifier in your estate checks per-platform digests, addcosign sign --recursive, which also signs each platform image in the index.cosign attesthas no such flag. - Treating the SBOM as complete. Syft catalogues what package managers and binary metadata reveal. A tool installed with
curl | sh, a vendored C library or a statically linked binary without build info may not appear. An SBOM is evidence, not proof.
06The original asset: a supply-chain control matrix
Most posts on this topic stop at "now you're SLSA L3". The question a CTO actually needs answered is: which attacks does this stop, and what is still exposed? Here is the matrix we use. It maps each attack class to the control, the SLSA requirement it relates to, where it is enforced and the evidence an auditor can check. The last column is honest about whether the pipeline above covers it.
| # | Attack class | Real example | Control | SLSA mapping | Enforced at | Evidence | Covered by this pipeline? |
|---|---|---|---|---|---|---|---|
| 1 | Image tampered with in the registry after build | – | Digest-pinned signature + admission verification | Build L2 | Admission | Rekor entry, policy report | Yes |
| 2 | Image built outside CI and pushed with a stolen registry token | – | Signature identity pinned to the platform workflow | Build L2 | Admission | Denied admission event | Yes |
| 3 | App team edits its workflow to inject a build step | – | Build runs in a reusable workflow the caller can't modify | Build L3 (isolation) | CI + admission (identity regex) | Cert SAN = oci-release. |
Yes |
| 4 | Poisoned third-party CI action steals secrets | tj-actions, Trivy | SHA-pinned actions. No third-party code in the OIDC job. Minimal permissions |
Build L3 (signing material isolated) | CI | Workflow lint (e.g. zizmor), Renovate PRs | Partly. The build job can still leak GITHUB_-scoped access |
| 5 | Platform workflow tag moved to a malicious commit | Trivy | Immutable releases for the platform repo | – | Source host | Release immutability setting | Yes, if enabled |
| 6 | Unreviewed code reaches main | – | Branch rulesets, required review, signed commits | Source L3–L4 | Source host | Ruleset audit log, Source track attestations | No. Needs Source-track controls |
| 7 | Malicious package version from a hijacked maintainer account | Shai-Hulud, 500+ npm packages | Lockfiles, dependency cooldowns, private registry proxy, signed SBOM to find exposure fast | Not covered by Build track | CI + SBOM inventory | SBOM query: "who ships pkg@ver?" | Detection only, via SBOM |
| 8 | Backdoor in an upstream release tarball | xz-utils, CVE-2024-3094 | Build from source repos rather than tarballs. Prefer upstream provenance when it exists | Upstream's Build/Source levels | Dependency intake | Upstream provenance, if any | No |
| 9 | Known CVE in a shipped component | – | Scan the stored SBOM continuously (e.g. grype sbom:./). VEX for false positives |
– | Post-deploy, continuous | Scan history per digest | Enabled. The SBOM makes it cheap |
| 10 | Signing identity hijacked via the OIDC token in CI | – | Short job, first-party steps only, tag-scoped identity | Build L3 | CI | Rekor monitoring for unexpected entries under your identity | Partly. Add log monitoring |
Use it like this. Copy the table into your risk register. Replace "Real example" with your own threat model. Treat every No or Partly as a funded backlog item or an explicitly accepted risk with an owner. Rows 6–8 are where most organisations who believe they "did supply chain" are actually exposed.
On row 9, an opinion: do not gate admission on CVE counts. New CVEs are published against images that are already running, so an admission gate blocks your next deploy, which is often the fix, while doing nothing about running pods. Gate on severity in CI. Scan stored SBOMs continuously. Keep admission for questions of identity and integrity.
07Rollout runbook: from zero to enforced without breaking production
- Week 1: inventory. List every image reference running in every cluster (
kubectl get pods -A -o jsonpath=). Group by registry. Anything you don't build, such as vendor images, base images and Helm chart dependencies, needs its own policy. Usually that means trusting the vendor's identity where they sign, and mirroring plus re-signing where they don't.'{.. image}' | tr ' ' '\n' | sort -u - Weeks 1–2: platform workflow. Ship
oci-release.as an immutableyml v1.0.0. Migrate two services. Confirmcosign verifyandgh attestation verifypass by hand. - Weeks 2–4: Audit mode. Deploy the policy with
validation. Watch Kyverno policy reports, not just webhook logs. Fix every failure until reports are clean for a full release cycle.Actions: [Audit] - Enforce by namespace. Flip to
[Deny]for one low-risk namespace, then by team. Keepkube-systemand the policy engine's own namespace excluded. - Break-glass. Document and rehearse switching to Audit during an outage. Alert when it happens.
- Close the matrix gaps. Source rulesets (row 6), dependency intake controls (rows 7–8), Rekor monitoring (row 10).
08Where this crosses into other layers
Supply-chain security looks like a Security-layer project. In practice it touches nearly every layer. The Shai-Hulud worm harvested credentials from compromised development environments as well as CI/CD secrets, which makes endpoint hygiene and phishing-resistant sign-in such as passkeys (Managed IT) part of your build integrity. The admission webhook is a Cloud & DevOps reliability dependency with its own on-call implications. SBOMs only pay off when they land somewhere queryable, which is a Data problem: "which running digests contain xz 5.6.0?" should be a query, not a week of grepping. And the EU Cyber Resilience Act turns this into Strategy. Its vulnerability and incident reporting obligations (Article 14) have applied since 11 September 2026, and the rest of the Regulation, including the Annex I requirements and SBOMs, applies from 11 December 2027 (Article 71). The same evidence answers the security questions in a technical due diligence checklist. Teams that own all of these together tend to get a working system. Teams that split them tend to get a signed image nobody verifies.
09FAQ
Do we need SLSA Build Level 3, or is Level 2 enough?
L2 stops post-build tampering and is the minimum for anything customer-facing. L3 adds protection against a compromised or careless calling workflow. On GitHub it costs one reusable workflow, so it is cheap once you have a platform repo. If you have three repos and one engineer, L2 plus SHA-pinned actions is a reasonable place to stop for now.
Is "keyless" signing actually keyless?
No. Cosign generates an ephemeral key pair. Fulcio issues a short-lived certificate binding the public key to your CI's OIDC identity, and the signing event goes into Rekor. Nothing long-lived needs guarding. The thing you protect instead is the ability to obtain that OIDC token, which is why the signing job must be minimal.
Should we generate the SBOM from source or from the built image?
From the built image, for what you ship. It captures OS packages and anything the Dockerfile pulled in that the source tree doesn't declare. Source-level SBOMs are still useful earlier, for dependency review in pull requests. If you only produce one, make it the image SBOM, attested against the image digest.
Does this work outside GitHub Actions?
The cosign and Kyverno parts work anywhere you have an OIDC identity Fulcio accepts. The public Fulcio instance accepts CI tokens from GitLab.com, Buildkite, CircleCI, Codefresh and Buddy, among others (Fulcio issuer config). The actions/ provenance step and the "reusable workflow equals L3" argument are GitHub-specific. Elsewhere, you would generate provenance with your platform's equivalent and make the same isolation argument for your own runners.
Is an SBOM legally required?
In the EU, for products with digital elements, it will be under the Cyber Resilience Act once the main obligations apply in December 2027. In the US, CISA and partner agencies published the 2026 Minimum Elements for an SBOM in July 2026. It replaces the 2021 NTIA baseline and adds elements including component hash, licence, tool name, generation context and an SBOM author signature. That is guidance for producers and buyers rather than a law in itself. Either way, an SBOM attached to a digest you can verify is worth far more than one emailed as a PDF.
What about images we don't build: vendor images, base images?
Write separate policy entries that trust the vendor's own signing identity where they publish one. Where they don't, pull into a mirror, scan, and sign with a distinct "mirrored-by-platform" workflow identity, so the policy shows which images you built and which you only vouched for.