⚡ ~/naveed Tech Blog
⚡ Portfolio Home ✍️ Engineering Blog Deep Dives 🎯 Interview Hub 1,000+ Scenarios ☸️ Kubernetes Mastery Hub 24 Modules 🎮 DevOps Arcade & Quizzes Subnet Blitz ⚡ 🗺️ DevOps Roadmaps PDFs & Guides 🤖 Morpheus Analysis AI Quant ↗ 🛠️ Developer Tools Utilities 🧪 Labs & Experiments 📄 Interactive CV & Certs 🔗 All Links & Socials ⚡ Join The Dispatch (Weekly SRE Newsletter) →

SBOM SLSA Supply Chain Security: A Practical Pipeline for 2026

Supply chain security pipeline showing source, build, SBOM scan, signing, provenance and Kubernetes admission verification

A new CVE lands in a transitive package at 02:10, and the first question is not how to patch it. The first question is which running images contain it. That is the job of sbom slsa supply chain security: keep a signed component inventory for every artifact, prove how the artifact was built, and verify both before Kubernetes admits the pod. This guide builds that pipeline with Syft, Grype, cosign, SLSA provenance, and admission control, then maps the evidence to CISA 2026 SBOM fields and EU Cyber Resilience Act dates.

A new CVE lands in a transitive package at 02:10, and the first question is not how to patch it. The first question is which running images contain it. That is the job of sbom slsa supply chain security: keep a signed component inventory for every artifact, prove how the artifact was built, and verify both before Kubernetes admits the pod. This guide builds that pipeline with Syft, Grype, cosign, SLSA provenance, and admission control, then maps the evidence to CISA 2026 SBOM fields and EU Cyber Resilience Act dates.

What SBOM SLSA Supply Chain Security Means in Production

SBOM SLSA supply chain security joins three proofs for every release. The SBOM lists components inside the artifact, SLSA provenance records how the artifact was built, and cosign signatures tie both claims to a trusted builder identity. Kubernetes admission then checks those proofs before a pod starts.

The bad version of this incident is familiar. A scanner flags a critical CVE in a base image package. The team opens three dashboards, searches old build logs, and still cannot say which services are exposed. Someone rebuilds a few images by hand. Someone else asks whether the registry tag changed after the build. The patch is easy. The evidence is missing.

SBOM SLSA supply chain security fixes the evidence path before the incident. An SBOM, or Software Bill of Materials, is a machine readable inventory of components in an artifact. For a container image, that means operating system packages, language packages, versions, identifiers, licences, hashes where available, and dependency relationships. SLSA, or Supply-chain Levels for Software Artifacts, describes build integrity. It asks whether provenance exists, whether the provenance is signed by a hosted builder, and whether the build platform resists tampering during the build. Signing proves that a named identity signed a digest. Attestation carries a signed claim about that digest, such as an SBOM or a provenance statement.

These controls answer different questions, and the order matters. The SBOM answers, what is inside this image? Provenance answers, which source commit and builder produced this image? A signature answers, who stands behind this digest? Admission control answers, should this cluster run it? If one answer is missing, the pipeline still has a blind spot. A signed image can contain a vulnerable package. A clean SBOM can describe an image that was replaced in the registry. Provenance can be perfect for an artifact nobody verifies at deploy time.

Use the control table as the design target for the rest of the guide.

ControlQuestion it answersEvidence to keepFailure it prevents
SBOMWhich components are in the artifact?CycloneDX or SPDX file tied to the image digestSlow CVE scoping across services
Vulnerability scanWhich known CVEs affect those components?Grype or Trivy report with policy resultShipping known exploitable packages
SignatureWho signed this exact digest?cosign signature in the registryRegistry tag replacement
SLSA provenanceHow was this artifact built?Signed provenance attestationForged build history
Admission policyShould this pod start here?ClusterImagePolicy or Kyverno decisionUnsigned or wrong builder images

This sits inside a wider DevSecOps pipeline security guide, but the supply chain part needs its own gate. A scanner in a pull request is not enough. The release artifact needs identity, inventory, provenance, and a deploy time check. Treat the image digest as the unit of trust. Tags move. Digests do not. Every SBOM, scan, signature, and attestation in this guide binds to the digest that will run in production.

The practical target is simple to state and hard to fake. For every production image, an operator can fetch the SBOM by digest, see the builder identity, verify the signature, read the provenance, and explain why admission allowed the pod. If that chain breaks, the release is not ready, even when the application tests pass.

⚡ EXCLUSIVE SRE & KUBERNETES PLAYBOOK

The 970+ Incident Handbook & K8s Runbooks are exclusive to subscribers — unlock for FREE

Get battle-tested production runbooks, AWS architecture blueprints, and zero-downtime CI/CD post-mortems sent directly to your inbox. 100% free, no spam.

SBOM vs SLSA: The Difference That Decides Your Pipeline

An SBOM describes contents, while SLSA describes build trust. The SBOM helps you find affected artifacts when a CVE appears. SLSA provenance helps you reject artifacts that came from the wrong source, wrong builder, or a tampered build. A mature pipeline needs both, plus verification at deploy time.

Teams often buy one control and expect it to do the work of three. An SBOM alone will not stop a compromised registry from serving a different image under the same tag. SLSA provenance alone will not tell you whether the image contains a vulnerable OpenSSL package. A signature alone will not explain which commit produced the binary. The controls are complementary because the threats are different.

Think of the release as a parcel. The SBOM is the packing list. SLSA provenance is the factory record. The signature is the seal. Admission control is the guard who checks the seal and the factory record before the parcel enters the building. If the packing list says the parcel contains a recalled part, the guard should stop it. If the seal is valid but the factory record names the wrong factory, the guard should stop it. If the factory record is perfect but nobody checks it, the control is decoration.

ItemSBOMSLSA provenanceSignature
Main objectComponents in the artifactBuild process and inputsArtifact digest and signer identity
Best momentAfter final image buildDuring hosted buildAfter push, before promotion
Typical formatCycloneDX or SPDXin-toto statement with SLSA predicateSigstore bundle through cosign
Main consumerSecurity triage and procurementRelease verification and admissionRegistry and admission checks
Weakness aloneCan describe the wrong artifactDoes not list every CVEDoes not prove source or contents

SLSA Build levels give the maturity path. Build L1 means provenance exists and shows how the package was built. Build L2 means a hosted build service generates and signs the provenance, which gives tamper protection after the build. Build L3 means the build platform is hardened and isolated, with provenance signing material kept away from user defined build steps. For most product teams, L2 is the first useful target, and L3 is the target for internet facing services, regulated products, and platform images used by many teams.

The SBOM side has its own maturity path. A lockfile export is a start, but it misses base image packages and files copied into the final image. A final image SBOM is better. A signed SBOM attestation tied to the digest is better still. A stored SBOM that can be queried across every running digest is the operational goal. That query is what turns a CVE announcement into a list of affected services in minutes.

Do not let format debates hide the control design. Decide which claims the cluster will verify, then pick tools that produce those claims. In this guide the claims are: image digest signed by the release workflow, SBOM attestation present for the same digest, SLSA provenance present for the same digest, and vulnerability policy passed or covered by a dated VEX exception. That is a small set, and it is enough to change incident response.

CycloneDX vs SPDX: Choose the SBOM Format by Consumer

Choose CycloneDX when security triage, VEX, and scanner workflows drive the SBOM. Choose SPDX when licence review or a contract names SPDX first. Many teams generate CycloneDX for operations and SPDX for procurement, but both files must describe the same final digest and carry the same component identifiers.

CycloneDX and SPDX can both describe software components, but they grew from different work. CycloneDX came from security tooling and fits vulnerability triage, VEX statements, services, and attestations. SPDX came from licence compliance and carries the licence vocabulary that legal and procurement teams already know. The right choice depends on who will read the file under pressure.

CISA published the 2026 Minimum Elements for a Software Bill of Materials on 29 July 2026. The document updates and replaces the 2021 NTIA baseline. It defines 17 data fields: nine SBOM metadata fields and eight component data fields, plus six practices and processes. The metadata fields include SBOM author, author signature, data format name, data format version, generation context, timestamp, tool name, tool version, and SBOM version. The component fields include producer, name, version, identifiers, licence, hash value, hash algorithm, and dependency relationship. That list is a useful acceptance test for generator output. If your SBOM cannot show tool version, generation context, component identifiers, and hashes where the tool can compute them, fix the generator settings before you argue about format.

Version choice matters as much as format choice. Germany BSI TR-03183-2 v2.1.0 accepts CycloneDX 1.6 or higher and SPDX 3.0.1 or higher in JSON or XML. Many tools still emit SPDX 2.3 by default. That file may satisfy an older contract and fail a newer European buyer check. Record the format version in the release evidence, and test the file with the consumer that will judge it. A scanner, a procurement portal, and a regulator do not parse the same fields with the same patience.

Decision pointCycloneDXSPDXPractical rule
Security triageStrong fit for VEX and vulnerability workflowSecurity profile exists in SPDX 3Use CycloneDX for operations
Licence reviewUses SPDX licence identifiers and expressionsNative licence model and listUse SPDX when legal asks first
Tool defaultsSyft and Trivy support it wellSyft and Docker often emit SPDX 2.3Pin the output version in CI
Buyer evidenceGood for BSI style checks at 1.6 or higherGood when SPDX 3.0.1 is producedGenerate both only if both are tested
Conversion riskConversion can drop VEX contextConversion can drop relationship detailGenerate from the artifact, not by conversion

My default for a DevOps pipeline is CycloneDX JSON from the final image, with SPDX generated only when a named consumer needs it. That keeps the security workflow short: Syft writes the SBOM, Grype scans it, cosign attests it, and the admission policy checks that the attestation exists. If procurement needs SPDX, generate SPDX from the same digest in the same job and store both files with the same release record. Do not convert one format into the other as the main path. Conversion is where fields go missing and nobody notices until an auditor asks for a hash or a relationship.

Whichever format you choose, require package URLs or another stable identifier for components. Names alone are weak. A component called openssl with no ecosystem, version, or identifier will slow every CVE search. The SBOM should let a scanner match the component to vulnerability data without guessing.

Generate the SBOM From the Final Image, Not the Lockfile

Generate the SBOM from the final image digest after build and push. Lockfiles miss base image packages, copied binaries, and files added by later build stages. Scan the SBOM with Grype or Trivy, fail on policy, and store the SBOM with the digest so incident queries stay exact.

The most common SBOM mistake is generating it too early. A repository scan sees source dependencies. A lockfile sees resolved language packages. Neither sees the final image after the base image, package manager installs, copied binaries, and multi stage build outputs are combined. Production runs the image, so the SBOM must describe the image.

Build and push first, capture the digest, then generate the SBOM from that digest. The commands below use Syft for generation and Grype for scanning. Replace the registry and image name with your release image. Keep the digest in a variable so later steps sign and attest the same object.

IMAGE="ghcr.io/example/api"
DIGEST="$(docker buildx imagetools inspect "$IMAGE:v1.4.7" --format '{{.Manifest.Digest}}')"
REF="$IMAGE@$DIGEST"

syft "$REF" -o cyclonedx-json > sbom.cdx.json
syft "$REF" -o spdx-json > sbom.spdx.json

grype "sbom:sbom.cdx.json" --fail-on high -o table
grype "sbom:sbom.cdx.json" -o json > grype-report.json

If your team already uses Trivy, the same shape works. Generate the SBOM with Trivy, scan the SBOM or image with Trivy, and keep the report beside the SBOM. The tool choice matters less than the binding to the digest. Do not scan a tag in one job and sign a digest in another job unless both jobs resolve the same digest and record it.

trivy image --format cyclonedx --output sbom.cdx.json "$REF"
trivy sbom --severity HIGH,CRITICAL --exit-code 1 sbom.cdx.json

Store the SBOM as release evidence, not as a short lived CI artifact. CI artifacts expire. Incident questions arrive after expiry. Put the SBOM in object storage, a release record, an SBOM platform such as Dependency-Track, or the registry as an attestation. The storage choice must support one query: given a component identifier and version, which digests contain it? If the answer requires downloading files one by one, the process will fail during a real CVE.

Set scan policy with care. Failing on every high finding can block releases for findings that are not reachable or not exploitable in your product. Ignoring high findings trains teams to click through red jobs. Use a policy with three paths: fix now for exploitable critical and high findings, dated exception with VEX evidence for not affected findings, and scheduled upgrade for lower risk findings. The exception path needs an owner and an expiry date. Without those fields, an exception becomes a permanent hole.

For container build hygiene, pair this with the Docker runbook for building, running, debugging and shipping containers. A smaller final image produces a shorter SBOM, fewer scanner findings, and a faster incident query. Supply chain security starts with fewer parts.

Sign the Image and Attest the SBOM With cosign

Use cosign keyless signing so the release workflow identity signs the image digest through Sigstore. Attach the SBOM as a signed attestation for the same digest. Verification must pin the certificate identity and OIDC issuer, because a valid signature from the wrong workflow is still the wrong proof.

Signing turns a digest into a claim by a named builder. With cosign keyless signing, the CI job uses its OIDC identity, Fulcio issues a short lived certificate, cosign signs the digest, and Rekor records the signature in a transparency log. There is no long lived private key for a runner to leak. The trust decision moves to identity: which workflow, which repository, which ref, and which issuer are allowed to sign production images?

Sign the digest, not the tag. A tag can move after signing. The signature must stay bound to the exact manifest that passed tests and scans. In GitHub Actions, the job needs id-token write permission for keyless signing and package write permission when pushing signatures to GitHub Container Registry. Keep permissions narrow per job. A test job does not need signing rights.

cosign sign --yes "$REF"

cosign attest --yes   --predicate sbom.cdx.json   --type cyclonedx   "$REF"

cosign verify "$REF"   --certificate-oidc-issuer "https://token.actions.githubusercontent.com"   --certificate-identity "https://github.com/example/api/.github/workflows/release.yml@refs/tags/v1.4.7"

cosign verify-attestation "$REF"   --type cyclonedx   --certificate-oidc-issuer "https://token.actions.githubusercontent.com"   --certificate-identity "https://github.com/example/api/.github/workflows/release.yml@refs/tags/v1.4.7"

The verify step is not optional. Run it in CI with the same identity rules the cluster will enforce. If local verification fails, admission will fail later with less context. Pin the identity as tightly as your release process allows. A subject pattern that accepts every workflow in an organisation is weaker than a pattern that names the release workflow and tag pattern. Start with the exact release workflow, then widen only when a second release path is approved.

Attesting the SBOM matters because an unsigned SBOM file can be edited after generation. The attestation binds the SBOM predicate to the image digest and signer identity. A consumer can fetch the attestation from the registry, verify the signature, and read the component list that belonged to the release. That is stronger than a file in a build log.

Keep private registries in mind. Sigstore public Fulcio and Rekor fit public and many private workflows, but some regulated teams run private Sigstore components or use key based signing with a KMS key. The control goal stays the same: signer identity is explicit, verification is automatic, and the evidence travels with the digest. If you use a KMS key, protect key use with cloud IAM and record the key version in release evidence. If you use keyless signing, protect the OIDC trust settings with the same seriousness.

Add SLSA Provenance With a Hosted Builder

SLSA provenance records the builder, source repository, commit, build type, and parameters for an artifact. Use a hosted builder so provenance is generated and signed by the platform, not by a developer laptop. Target Build L2 first, then move release builds to isolated L3 capable paths.

Provenance is the build receipt. It records what was built, from which source, by which builder, with which build definition and parameters. SLSA gives that receipt a standard shape and a set of expectations. The verifier should check the builder identity, source repository, build type, and external parameters. Unknown parameters should fail verification, because a receipt with surprise inputs is not a receipt you can trust.

A practical GitHub Actions release job can build the image, request provenance and SBOM output from Buildx, sign the digest with cosign, and attach the SBOM attestation. For stronger SLSA separation, use the SLSA GitHub generator for container provenance or GitHub artifact attestations where they fit your registry flow. The exact generator can change. The release record must still show builder identity, source commit, workflow path, image digest, SBOM digest, and verification result.

name: release
on:
  push:
    tags: ["v*"]
permissions:
  contents: read
jobs:
  build:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write
      id-token: write
      attestations: write
    outputs:
      digest: ${{ steps.push.outputs.digest }}
      image: ghcr.io/${{ github.repository }}
    steps:
      - uses: actions/checkout@v4
      - uses: docker/login-action@v3
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
      - id: push
        uses: docker/build-push-action@v6
        with:
          push: true
          tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }}
          provenance: mode=max
          sbom: true
      - uses: sigstore/cosign-installer@v3
      - run: cosign sign --yes ghcr.io/${{ github.repository }}@${{ steps.push.outputs.digest }}

Treat that workflow as a starting point, not a compliance claim. Build L2 needs hosted build provenance signed by the platform. Build L3 needs stronger isolation and protection for signing material. If your build script can reach the signing secret, change the design. If a pull request workflow can sign production images, change the design. If the same job can alter provenance after generation, change the design.

This is where the GitHub Actions Kubernetes deployment with ECR and OIDC pattern helps. Short lived cloud credentials, narrow job permissions, and environment protection rules reduce the blast radius when a workflow is compromised. Read the GitHub Actions OIDC AWS guide before you widen trust. OIDC is powerful because it removes static secrets. It is dangerous when subject claims are accepted too broadly.

Record provenance verification in the release job. A generated attestation that nobody verifies is only storage. Verification should fail the release when the builder identity is wrong, the source repository is wrong, the commit does not match the tag, or the digest does not match the pushed image. Those checks catch boring release mistakes as well as attacks.

Verify SBOM SLSA Supply Chain Security in Kubernetes Admission

Kubernetes admission is the last clear chance to stop a bad artifact. Use Sigstore policy-controller or Kyverno to verify the image signature and required attestations by digest. Start in audit mode, fix signer identity mismatches, then enforce by namespace with a failure policy that does not silently bypass checks.

A release pipeline can produce perfect evidence and still fail if the cluster accepts any image with a familiar name. Admission control closes the loop. When a pod is created, the controller resolves the image to a digest, fetches signatures and attestations from the registry, verifies them against policy, and allows or rejects the pod. This check must cover init containers and ephemeral containers as well as the main container. A policy that checks only one container type leaves a side door.

Sigstore policy-controller enforces ClusterImagePolicy resources. Namespaces opt in with the policy.sigstore.dev/include=true label unless you change the webhook matching rules. The policy below is a starting shape for images signed by a GitHub Actions release workflow. Replace the image glob and subject pattern with your registry and workflow identity. Test it in audit or warn mode first, then move production namespaces to enforce.

apiVersion: policy.sigstore.dev/v1beta1
kind: ClusterImagePolicy
metadata:
  name: require-release-signature
spec:
  images:
    - glob: "ghcr.io/example/**"
  authorities:
    - keyless:
        url: https://fulcio.sigstore.dev
        identities:
          - issuer: https://token.actions.githubusercontent.com
            subjectRegExp: "https://github.com/example/api/.github/workflows/release.yml@refs/tags/v.*"
      ctlog:
        url: https://rekor.sigstore.dev

Kyverno can enforce similar checks with verifyImages rules. Pick one admission path per cluster and test failure modes. What happens when the registry is slow? What happens when Rekor is unreachable? What happens when the webhook times out? A failurePolicy set to Ignore can turn an outage into a silent bypass. That may be right for a low risk namespace and wrong for payment, identity, or control plane workloads. Write the choice down per namespace. Do not let a default decide your risk posture.

Admission policy should check more than a signature when the release process produces attestations. Require the SBOM attestation type and SLSA provenance type for production images. Policy engines can inspect attestation predicates with Rego or CUE in supported setups. Keep the first policy simple: signed by release workflow, SBOM attestation present, provenance attestation present. Add predicate checks after the basic path is stable, such as source repository equals the expected repository and builder identity equals the expected workflow.

Roll out by namespace. Start with a staging namespace that mirrors production image patterns. Label it, deploy signed and unsigned test images, and record the admission messages. Then enforce for one production service with a fast rollback path. Expand after the team has seen normal failures: wrong tag pattern, missing attestation after a manual push, registry permission error, and clock skew during verification. Those failures are useful. They show where the release process still allows shortcuts.

For cluster build context, the production EKS architecture guide covers the platform side. Admission policy belongs in that platform layer, managed as code, reviewed like other control plane changes, and tested before it can block a release at midnight.

Use VEX and Exceptions Without Hiding Risk

VEX records whether a known vulnerability affects a product, with a status and justification. Use it for not affected findings that have evidence, not as a mute button for scanner noise. Every exception needs an owner, expiry date, affected digest scope, and a fix or review trigger.

Scanner output is not the same as product risk. A CVE can appear in a package that is present in the image but not loaded by the service. A vulnerable function can sit in code that the product never calls. A base image can contain a tool that is removed before the final stage, yet the SBOM still needs to be checked against the final artifact. VEX, or Vulnerability Exploitability eXchange, records the product specific judgement: affected, not affected, fixed, or under investigation, with justification.

VEX helps when the judgement is evidence based. It hurts when teams use it to silence every red job. A not affected statement should name the component, CVE, product version or digest scope, justification, evidence link, owner, and expiry or review date. Evidence can be a code path review, a configuration check, a test that proves the vulnerable feature is disabled, or a vendor statement tied to the exact component version. If the evidence is weak, keep the finding open and schedule the upgrade.

Exception fieldWhy it existsBad version
Component and CVEScopes the judgementIgnore scanner noise
Product and digest scopePrevents blanket suppressionAll services forever
StatusSeparates affected from not affectedClosed with no reason
JustificationShows the technical basisLow risk, trust us
OwnerGives a person to askSecurity team
Expiry dateForces reviewNo date
Fix triggerConnects risk to actionWhen time permits

Incident posts show why scope matters. The Ruby2Shell vulnerable versions guide and the React2Shell SRE response guide both turn on version exposure and response steps. An SBOM query should produce the affected digest list before the team debates exploitability. VEX then narrows the list with product evidence. The order is important: inventory first, judgement second.

Keep VEX close to the SBOM workflow. CycloneDX can carry vulnerability and VEX data in the same security workflow, while SPDX 3 security profile support is newer in many toolchains. If your scanner reads VEX from a separate file, store that file with the release evidence and test that the scanner applies it. A VEX file that no tool reads is a note, not a control.

Review exceptions on a schedule. A not affected judgement can expire when a feature flag changes, a dependency is upgraded, or a new exploit path appears. Put exception review in the same backlog as dependency upgrades. The goal is not zero findings. The goal is no unexplained findings in production.

Meet CRA and CISA Expectations With an Evidence Pack

CISA 2026 SBOM fields tell you what a useful SBOM should contain. The EU Cyber Resilience Act adds dates: reporting duties from 11 September 2026 and full application on 11 December 2027. Build an evidence pack per release so engineering, security, and legal read the same facts.

Compliance pressure is now part of the engineering calendar. CISA 2026 Minimum Elements is guidance for SBOM quality, not a stand alone law for every team. It still matters because buyers copy field lists into contracts. If a customer asks for SBOM author signature, tool version, generation context, component hashes, licences, identifiers, and dependency relationships, your generator settings must produce those fields or your team will hand edit files under deadline pressure.

The EU Cyber Resilience Act is law for products with digital elements placed on the EU market. Regulation (EU) 2024/2847 entered into force on 10 December 2024. Article 14 reporting for actively exploited vulnerabilities and severe incidents applies from 11 September 2026. Full application, including Annex I essential requirements and the enforceable SBOM duty, lands on 11 December 2027. Annex I Part II point (1) requires an SBOM in a commonly used machine readable format covering at least top level dependencies. The reporting clock is the operational trap: a 24 hour early warning needs product scope fast, and product scope needs an SBOM that can be queried by component.

Do not wait for the full application date to build the data path. By the time a report is due, the team needs to know which product versions contain the affected component, which customers received them, what mitigation exists, and when a fix will ship. That is an SBOM query plus release records plus support data. The legal text sets the duty. The pipeline decides whether the duty is possible.

Create an evidence pack for each release. Keep it boring and complete.

Evidence itemMinimum contentOwner
Image recordRegistry, tag, digest, build time, source commitRelease engineering
SBOMCycloneDX or SPDX file, format version, tool name and versionPlatform team
Scan reportScanner, database time, policy result, open findingsSecurity engineering
SignatureSigner identity, issuer, verification command resultPlatform team
ProvenanceBuilder identity, workflow path, source repository, parametersRelease engineering
VEX and exceptionsStatus, justification, owner, expiry dateProduct security
Admission resultPolicy name, namespace, allow or deny eventPlatform team
Support scopeProduct versions and customer channels affectedProduct operations

The evidence pack should be generated by the pipeline, not assembled by hand after a customer asks. Hand assembly creates missing fields and inconsistent timestamps. Pipeline generation creates the same record for every release, including the boring releases that later become incident scope.

Keep legal review in the loop for regulated products. Engineering can prove component inventory and build history. Legal decides whether a product is in scope, which reporting duty applies, and what a customer notice must say. The shared evidence pack prevents a common failure: legal asks for product scope, engineering sends a scanner screenshot, and nobody can tie the screenshot to a shipped digest.

Troubleshooting SBOM SLSA Supply Chain Security Failures

Most failures come from identity mismatch, tag based signing, missing attestations, or an SBOM generated before the final image existed. Debug by digest: resolve the running image, fetch its signature and attestations, verify with cluster identity rules, then compare the SBOM component list with the final image contents.

When this pipeline breaks, debug the digest chain in order. Resolve the image reference to a digest. Fetch the signature for that digest. Fetch the SBOM and provenance attestations. Verify with the same identity rules used by admission. Compare the SBOM with the final image. Most incidents collapse into one of those steps.

SymptomLikely causeFix
Admission rejects a signed imageCertificate identity does not match policyPrint the signer identity from cosign verify and align the workflow subject pattern
SBOM attestation missingAttest step ran on a tag or a different digestCapture digest from build output and use it for sign, attest, and verify
Scanner finds package not in SBOMSBOM came from source or lockfile onlyRegenerate from final image digest and rescan
Provenance verification failsBuilder, repository, or parameter expectation is wrongCompare provenance fields with release record and fix the expectation or workflow
Policy passes in staging, fails in productionNamespace label, image glob, or registry permission differsDiff namespace labels, policy patterns, and registry pull access
VEX does not suppress a findingScanner does not read the VEX file or scope is wrongTest scanner VEX input and bind the statement to product and component scope
Release job cannot signMissing id-token permission or OIDC trust mismatchCheck job permissions and issuer subject claims before changing policy
SBOM lacks hashes or tool versionGenerator defaults are too thinSet output format, tool metadata, identifiers, and hash options, then validate fields

Use a staged rollout. In the first stage, generate SBOMs for every release and store them by digest. Do not block deploys yet. Measure missing fields and scanner noise. In the second stage, sign images and attest SBOMs in the release workflow. Verify in CI with production identity rules. In the third stage, add SLSA provenance and fail releases when provenance fields do not match the release record. In the fourth stage, enable admission in audit mode for production namespaces, fix mismatches, then enforce.

The checklist for a release manager is short. The image digest is recorded. The SBOM was generated from that digest. The scan policy passed or has dated VEX coverage. The image signature verifies with the release workflow identity. The SBOM attestation verifies for the same digest. SLSA provenance verifies against builder and source expectations. Admission policy allows the digest in the target namespace. The evidence pack is stored where incident responders can query it.

That checklist is the difference between a security slide and a control. SBOM SLSA supply chain security works when the next CVE produces a query result, not a meeting. Build the chain once, verify it on every release, and let Kubernetes refuse artifacts that cannot prove where they came from.

Frequently Asked Questions

Direct answers to common technical, architectural, and production troubleshooting questions.

Does an SBOM protect against supply chain attacks?

An SBOM alone does not block an attack. It lists components so teams can find affected artifacts fast. Protection comes when sbom slsa supply chain security joins the SBOM with signing, SLSA provenance, vulnerability policy, and Kubernetes admission checks that reject artifacts with weak or missing proof.

What does SLSA Level 3 require?

SLSA Build Level 3 requires a hardened build platform with isolated builds and provenance that user defined build steps cannot forge. The build service must protect signing material, prevent runs from influencing one another, and generate provenance that verifiers can check against builder, source, and parameter expectations.

CycloneDX or SPDX for sbom slsa supply chain security?

Use CycloneDX when security triage, VEX, and scanner workflows lead the process. Use SPDX when licence review or a contract names SPDX first. If both consumers matter, generate both from the same final digest, pin the format version, and test each file with the tool or buyer that will read it.

How do I generate an SBOM in a CI CD pipeline?

Build and push the image, capture the digest, run Syft or Trivy against that digest, scan the SBOM with Grype or Trivy, sign the digest with cosign, attach the SBOM as an attestation, and store the evidence pack with the release record. Generate from the final image, not only from a lockfile.

What should Kubernetes admission control verify before a pod starts?

Admission should resolve the image to a digest, verify the cosign signature against the approved workflow identity and issuer, require SBOM and SLSA provenance attestations for production images, and check init containers as well as main containers. Start in audit mode, then enforce by namespace.

Naveed Ahmed

Naveed Ahmed (Kumbhar)

Senior DevOps & Cloud Engineer with 10+ years specializing in AWS, Kubernetes, Platform Engineering, SRE incident response, and autonomous AI infrastructure agents.

Passionate about cloud architecture & systems engineering? Connect on LinkedIn →