Security teams should treat image assurance as a release gate, not a post deployment check. Define policies that score images for vulnerabilities, insecure configurations, and embedded secrets before they are allowed to run. That approach reduces exposure from untrusted builds and helps ensure only images that meet the organisation’s security baseline are admitted to the cluster.
What container image assurance should cover in OpenShift
Image assurance in OpenShift should focus on what enters the cluster, not just what is already running. Security teams need a policy layer that evaluates images before admission, with clear thresholds for vulnerability severity, configuration hardening, and embedded secret detection. The goal is to prevent unsafe artifacts from becoming a live runtime dependency.
That means treating the image as a supply chain object with measurable trust properties, including provenance, package risk, and whether the image contains sensitive material that should never have been baked into a layer. For container-specific guidance, NIST SP 800-190 Container Security is a useful reference point because it addresses image, registry, orchestrator, and runtime risk together.
How policy enforcement should work at admission time
The strongest pattern is to make assurance a release gate in the OpenShift workflow. Images should be scanned before deployment, then admitted only when they satisfy the organisation’s baseline for exploitable vulnerabilities, unsafe defaults, and exposed secrets. That gate is most effective when it is enforced automatically, because manual review does not scale well to frequent builds and redeployments.
Policy should also distinguish between findings that are merely informational and findings that should block release. A practical program sets different actions for high-severity CVEs, critical misconfiguration, and credential exposure. If the image includes authentication material, the issue is not cosmetic, it is a direct access-path concern that should trigger rotation and removal before the image is promoted.
Assurance works best when tied to the registry and CI/CD flow rather than left to cluster operators alone. The registry, build pipeline, and admission controller should all be aligned so that a scanned image cannot be replaced, rebuilt, or retagged into a weaker state after approval.
For image-related secret exposure, Docker Hub Auth Secrets in Container Images shows why hidden keys and tokens are a release-blocking issue, not a post-deployment housekeeping task.
Why assurance fails when teams rely on runtime detection alone
Runtime controls are still important, but they do not fix a bad image already admitted into the cluster. If the image contains a vulnerable component, an insecure default, or a secret that should never have shipped, the exposure exists from the moment the workload starts. In OpenShift environments, that creates avoidable blast radius across namespaces, services, and promoted environments.
Assurance also fails when teams scan only for known CVEs and ignore embedded secrets or insecure configuration. A low-vulnerability image can still be unsafe if it carries privileged defaults, unnecessary tools, or credentials that allow lateral movement. The right model is to score the image as a whole artifact, then reject it when any one of those dimensions crosses the organisation’s threshold.
For broader container hardening, the image gate should sit alongside registry controls, provenance checks, and runtime policy so that a clean scan result is not treated as proof of trust. The security decision is about the full chain from build to admission to execution, not a single report generated at one point in time.
Risk and Threat Considerations
Container image assurance reduces the chance that untrusted or overly permissive software is admitted into a production cluster. The main risk is that a seemingly valid image carries hidden secrets, exploitable packages, or unsafe defaults that expand the attacker’s options once the workload is deployed.
Failure mechanism: The cluster admits an image because the policy is too narrow, the scanner is run too late, or secret and configuration findings are treated as non-blocking. That allows compromised or weak artifacts to reach production and be used as an entry point, persistence mechanism, or lateral movement path.
Impact: A single admitted image can expose credentials, increase privilege, or create an easier route into adjacent services. In an OpenShift environment, that can turn one build mistake into cluster-wide exposure if the workload can reach sensitive data, APIs, or privileged runtime paths.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | SI-2 — Flaw Remediation | Image assurance depends on finding and controlling vulnerable components before release. |
| CM-5 — Access Restrictions for Change | Admission gates enforce controlled promotion of container artifacts into production. | |
| IA-5 — Authenticator Management | Embedded secrets and keys in images are identity-bearing material that must be detected and removed. | |
| Recommendation — Scan images for exploitable flaws before admission and block releases that exceed risk thresholds. Restrict image promotion so only approved digests can be deployed to OpenShift. Detect and eliminate credentials in images before release, then rotate any exposed secrets immediately. | ||
| ISO/IEC 27001:2022 | A.8.8 — Management of technical vulnerabilities | Container image scanning is a vulnerability-management control for software artifacts. |
| A.8.9 — Configuration management | OpenShift admission policies must block insecure image configurations. | |
| Recommendation — Apply vulnerability scanning and risk-based remediation before images are allowed into production. Standardise and enforce secure image configuration baselines at build and admission time. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Image assurance should enforce secure baselines on container artifacts before deployment. |
| Recommendation — Enforce secure container image baselines and fail builds that violate hardening requirements. | ||
Practitioner Guidance
What to prioritise: Start with admission policy, because that is where you can still stop risk before the workload runs. Make secrets, critical CVEs, and unsafe configuration first-class block conditions, not review-only alerts.
What to verify: Confirm that the policy checks the same image digest that will run in the cluster, and that the registry or deployment process cannot silently swap in a different artifact after approval. Also verify that the scanner can detect embedded credentials, not just package-level vulnerabilities.
Decision rule: If an image can authenticate, access sensitive services, or launch with elevated runtime assumptions, treat that as a release-gating concern. If the only control is post-deployment monitoring, the environment is relying on detection after exposure, which is the weaker option.
Practitioner takeaway: Image assurance is most effective when it is enforced at the point of admission with clear block criteria, because once an unsafe container is running, the remaining controls are containment, not prevention.
What to measure: Track the percentage of builds blocked for secrets, critical vulnerabilities, and misconfiguration, plus the time between build completion and admission decision. Those signals show whether assurance is actually shaping release behaviour or only producing reports.
- Scan the exact image digest before deployment.
- Block release on embedded secrets and severe exposure findings.
- Keep admission policy and registry controls aligned.
- Review exceptions only when there is an explicit, time-bound risk acceptance.
Related resources from NHI Mgmt Group
- How should security teams implement image redaction for sensitive data in regulated environments?
- How should security teams implement container security in cloud environments without slowing down delivery?
- How should security teams implement container vulnerability scanning alongside application security posture management in production environments?
- How should security teams implement container registry security in Kubernetes environments?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org