Skip to content

All posts

KubernetesKyverno

NIST SP 800-161 and Kubernetes: which supply chain controls policy can enforce

Ritesh Patel

Kubernetes: NIST SP 800-161 and Kubernetes: which supply chain controls policy can enforce

NIST SP 800-161 is NIST’s guide to cybersecurity supply chain risk management, and it never names Kubernetes. Of its 18 SR controls, counting enhancements, Kubernetes admission can enforce three: provenance, tamper detection and component authenticity. CI can check one more. The other 14 need a plan, a contract, a record or a person.

Which revision this maps to

The series plan points to the Rev. 1 text dated May 2022, at csrc.nist.gov/pubs/sp/800/161/r1/final. That version is withdrawn. NIST replaced it on November 1, 2024 with SP 800-161r1-upd1, an errata update that corrected some text and numbering. This guide maps against upd1, and every control ID below comes from it.

The update matters if you cite it. The sub-tier flow-down control is SR-3(3) in upd1, where the withdrawn text called it SR-3(2). Cite the upd1 number and its date, or an auditor will look for the wrong control. SP 800-161 includes every SR control enhancement from SP 800-53 Rev. 5, and it carries SR-13, which it marks as new. For SR-1 to SR-12 it gives the supplemental guidance and the levels, and it tells readers to use the SP 800-53 Rev. 5 SR controls alongside it. This guide works from that guidance text.

How each control gets a label

Each control gets one of three labels, based on what a check can see when it runs.

Enforceable at admission means a policy checks the object when it is created or updated, using fields the cluster holds, such as an image reference or a signed attestation attached to an image.

Enforceable in CI only means a pipeline step can fail a build or a release. The cluster never runs that check.

Not enforceable by policy means the control asks for a plan, a contract, a decision, a physical inspection or a person’s judgment. A policy can point to the record that shows the work happened, but it cannot make the work happen.

The labels are our classification, not NIST’s. Each row also quotes NIST’s Level(s) line, which says whether the control applies at the enterprise, mission and business, or operational level. That tells you who owns the control.

Control to policy table

The table has 18 rows in two groups. The IDs, titles and levels come from SP 800-161r1-upd1. The paraphrases, labels and check descriptions are ours. Read each label as a claim about the check, not about how much the control matters. The program rows say what the organization must write down. The component rows are the ones a cluster can touch, and they hold the three admission labels.

Program and supplier controls

Control What it asks for, paraphrased Levels Label How the check works
SR-1 Policy and Procedures Write C-SCRM policies and procedures 1, 2, 3 Not enforceable by policy Document review by enterprise functions
SR-2 Supply Chain Risk Management Plan Write a system-level C-SCRM plan 3 Not enforceable by policy Plan document
SR-3 Supply Chain Controls and Processes Umbrella control for supply chain processes 1, 2, 3 Not enforceable by policy Its checks sit in the rows below
SR-3(1) Diverse Supply Base Diversify suppliers, especially for critical products 2, 3 Not enforceable by policy Sourcing decision
SR-3(3) Sub-tier Flow Down Flow controls down to sub-tier contractors 2, 3 Not enforceable by policy Contract clauses
SR-5 Acquisition Strategies, Tools, and Methods Choose acquisition approaches and tools 1, 2, 3 Not enforceable by policy Procurement process
SR-6 Supplier Assessments and Reviews Assess suppliers against a consistent baseline 2, 3 Not enforceable by policy Assessment records
SR-7 Supply Chain Operations Security Apply OPSEC where an adversary targets the supply chain 2, 3 Not enforceable by policy Operations decision
SR-8 Notification Agreements Require suppliers to agree how they notify each other 2, 3 Not enforceable by policy Contract terms
SR-13 Supplier Inventory Keep an inventory of tier one suppliers and their criticality 2, 3 Not enforceable by policy Inventory records, reviewed on a set schedule

Component and provenance controls

Control What it asks for, paraphrased Levels Label How the check works
SR-4 Provenance Document provenance and produce signed SBOMs 2, 3 Enforceable at admission Admission checks that a signed attestation is attached to the image. It cannot check that the SBOM is complete
SR-9 Tamper Resistance and Detection Apply tamper resistance and detection to critical components 2, 3 Enforceable at admission Container images only: a signature check fails when the image was not signed by a trusted key. Physical tamper is outside the cluster
SR-10 Inspection of Systems or Components Inspect critical components before use and periodically 2, 3 Not enforceable by policy Physical or manual inspection
SR-11 Component Authenticity Favor authorized sources to prevent counterfeits 1, 2, 3 Enforceable at admission For images: allow only listed image references that a trusted signer has signed. The anti-counterfeit policy itself is a document
SR-11(1) Anti-counterfeit Training Train personnel to spot counterfeits 2, 3 Not enforceable by policy Training records
SR-11(2) Configuration Control for Component Service and Repair Control configuration during service and repair 2, 3 Not enforceable by policy Change records
SR-11(3) Anti-counterfeit Scanning Scan critical components for counterfeits 2, 3 Enforceable in CI only A pipeline scan step fails the build on findings. The scanner’s detection quality is outside the gate
SR-12 Component Disposal Set component disposal policies and techniques 2, 3 Not enforceable by policy Disposal records

What the count means

Three rows are enforceable at admission: SR-4, SR-9 and SR-11. One is enforceable in CI only: SR-11(3). The other 14 are not enforceable by policy. Most of them ask for a plan, a contract, a decision or a record. SR-10 needs physical inspection, and SR-11(1) needs training.

The three admission rows all depend on signing. A policy can check only what the producer attached to the image. A signed SBOM therefore proves that someone attached one and signed it. It does not prove the SBOM lists every dependency. The next two sections show the checks for the admission rows and for the one CI row.

The count is a limit on what a cluster can prove, not a score. A row marked not enforceable by policy means the cluster cannot enforce that control. It does not mean the control can be skipped.

Admission checks for the three admission rows

All three admission rows use Kyverno’s verifyImages rule. The rule checks an image’s signature, and it can also check attestations, which the Kyverno docs describe as signed metadata. The rule runs inside the admission webhooks, so it sees the image reference before a pod starts. The first check below covers all three rows, because each one depends on a signature or attestation that the rule verifies.

Signature and attestation check (SR-4, SR-9, SR-11)

The block below requires a signature from a trusted key on images that match the registry pattern. The sample uses example values, so replace the registry pattern and the public key with your own before you apply it.

apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: verify-images-production
spec:
  rules:
    - name: verify-image
      match:
        any:
          - resources:
              kinds:
                - Pod
      verifyImages:
        - imageReferences:
            - 'registry.example.com/production/*'
          imageRegistryCredentials:
            secrets:
              - 'production/registry-pull-secret'
          attestors:
            - entries:
                - keys:
                    publicKeys: |
                      -----BEGIN PUBLIC KEY-----
                      ...
                      -----END PUBLIC KEY-----

The imageReferences list decides which images the rule matches, so an image outside the pattern is not checked at all. Keep the pattern as narrow as your namespace allows.

This example checks the image signature. The same page says a verifyImages rule can also carry a list of attestations, and that the nested attestations.attestors check the signature on each attestation. The attestations.conditions field checks any JSON data inside an attestation. An SBOM attestation tested this way shows that a signed SBOM is attached and that the fields you test for are present. It does not show that the SBOM is complete.

Required and digest settings

Three settings on the rule change what the cluster does, and the Kyverno docs give each one a default of true.

required checks that each matching image carries an immutable annotation that marks it as verified. The page says this check runs as part of the validation webhook, so an unverified image is rejected at admission when the rule enforces.

verifyDigest checks that each matching image is referenced by a digest rather than a tag.

mutateDigest converts tags to digests for matching images, and it does this by changing the object. The digest makes the reference immutable. But the pod spec after admission can differ from the manifest you applied, so check what changed before you enforce the rule.

The page describes the order. The rule first runs in the mutation webhook, where it may insert the digest. It then runs again in the validation webhook to apply the required and verifyDigest checks. A digest added during mutation therefore counts when the validation check runs.

CI checks for the one CI row

SR-11(3) asks for anti-counterfeit scanning of critical components. The scan runs on the artifact before release, and the cluster never sees the result unless you attach it as an attestation. So the gate belongs in the pipeline. The same pipeline can also run Kyverno policies against manifests before they merge, which covers the policy side of the release checks.

Running policies before merge

The Kyverno CLI applies policies to resources outside a cluster. The apply reference gives this command form. Its --warn-exit-code flag sets a separate exit code for warnings, so check the exit code your Kyverno version returns before you wire the command into a gate.

kyverno apply /path/to/policy.yaml /path/to/folderOfPolicies --resource=/path/to/resources/

The --policy-report flag generates a policy report when it is passed, and --detailed-results displays detailed results. The --warn-exit-code flag sets a separate exit code for warnings. The --cluster flag applies the policies to the cluster in the current context. Run the CLI against the same policy files your admission rules use, so the pipeline and the cluster judge the same thing.

Scanning for counterfeits (SR-11(3))

NIST asks for anti-counterfeit scanning of critical components, at a minimum. Criticality comes from your own analysis under RA-9, and no policy can make that call for you. Write down which components count as critical, and make the pipeline step fail when a scan finds a counterfeit or when the scan did not run. A skipped scan should fail the build the same way a failed scan does.

The gate can check that the scan ran and what it reported. It cannot check the scanner’s detection rate, so your team has to assess the scanner and record the assessment. Write the threshold in the same repository as the pipeline, so an auditor can see what the gate checked and when the threshold changed.

Gotchas from the fine print

  • SP 800-161 never names Kubernetes. Every cluster mapping in this guide is ours, and each row traces back to a control ID that a reviewer can check.
  • Admission sees image references and the data attached to them. It does not see the libraries inside an image, so component-level claims stay in CI or in records.
  • SR-3(2) in the withdrawn text is SR-3(3) in upd1. Use the current number in audit evidence.
  • The publication says SR-13 was added to SP 800-53 Rev. 5 from this document. Check the SP 800-53 wording before you quote SR-13 in a control narrative.
  • A policy that matches a control ID does not satisfy the control. For every row marked not enforceable by policy, write down the owner and the evidence.

A checklist before you map SR controls

  1. Cite SP 800-161r1-upd1, its November 2024 update and the Appendix A level lines you used.
  2. Give each control one label, and write down why you chose it.
  3. For each admission row, apply the rule to a test namespace and read the results before you enforce it.
  4. For each CI row, add the step and confirm it fails on a deliberately bad change in a test branch.
  5. For each remaining row, name the record that holds the evidence and the person who keeps it.

Enforcing this with Kyverno

Kyverno covers the three admission rows through verifyImages. For the CI row, the anti-counterfeit scan is a pipeline step of your choosing. The kyverno apply step can run your policies on manifests in the same pipeline, but it is not the scan itself. The other 14 rows are plans, contracts, decisions and records, and a policy engine cannot produce those. For the wider approach to keeping that evidence in one place, read the continuous compliance hub.

The same method for another supply chain framework is in the NIST SP 800-218 post. For signed attestations from GitHub builds, read supply chain security with GitHub artifact attestations and Kyverno. For signing and verifying images in a registry, read Harbor, Cosign, and Kyverno for software supply chain security in Kubernetes.

Sources checked on 2026-11-27: the NIST SP 800-161r1-upd1 publication page and its PDF, the withdrawn Rev. 1 page, the Kyverno documentation for verifyImages rules and the kyverno apply reference.

Frequently asked questions

Does NIST SP 800-161 mention Kubernetes?

No. SP 800-161 covers cybersecurity supply chain risk management for systems and organizations. It does not name Kubernetes, pods or admission controllers. The mapping to a cluster in this guide is our reading of the control text. Cite it as ours, and trace each row to its control ID so a reviewer can check the link.

Which SR controls can a Kubernetes admission policy enforce?

Three rows in the current text: SR-4 Provenance, SR-9 Tamper Resistance and Detection, and SR-11 Component Authenticity. Each applies only to container images, and only to what the policy can read: a signed attestation, a signature from a trusted key, or an approved image reference. Whether an SBOM is complete, and any physical tamper check, stay outside the cluster.

Why is SR-11(3) a CI check and not an admission check?

SR-11(3) asks for anti-counterfeit scanning of critical components. The scan runs on the artifact before release, and a pipeline step can fail the build when it finds a problem. Admission does not see a scan result unless one is attached as an attestation, which this guide does not map. Deciding which components are critical is a human risk decision that no policy can make for you.

Should I block unverified images on the first day?

Test first. The verifyImages rule defaults required and verifyDigest to true, and mutateDigest rewrites tags to digests, which changes the object. Apply the rule to a test namespace, read what it would have blocked and what it changed, fix those workloads, and only then enforce it on the namespaces you run.

Ritesh Patel, Founder & VP Product, Nirmata

Ritesh Patel is a founder of Nirmata and leads its products. He writes about governing AI coding agents, MCP security and Kubernetes policy as code.

LinkedIn

Software Supply Chain SecuritySignature and SBOM checks before an image runs.
Share

Stay up-to-date with the latest in AI, governance, and infrastructure

Subscribe to our free monthly newsletter to get industry news, DevOps tips, and articles right to your inbox on Kyverno, containerization, Kubernetes deployment & management and more.