Why it matters
The image is referenced by a tag rather than a digest, so what runs can change without the manifest changing, and what was scanned may not be what is running.
How to fix it
Reference the image by digest, or pin the tag and treat it as immutable in the registry.
What TrustIvan reads
Read through the Kubernetes API with the read-only role TrustIvan's install creates.
Benchmark controls
- CIS Kubernetes Benchmark 1.9.0, control
5.5.1: Image provenance is configured. Also checked for this control: Container runs `latest` or an untagged image, Container image comes from an untrusted registry - NSA/CISA Kubernetes Hardening Guidance 1.2, control
pod.secure-images: Images are built and referenced securely. Also checked for this control: Container runs `latest` or an untagged image, Container image comes from an untrusted registry
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- Container runs `latest` or an untagged image
KubernetesSeverity: Medium
k8s.container.image-latest - Container keeps NET_RAW
KubernetesSeverity: Low
k8s.container.net-raw - Container binds a host port
KubernetesSeverity: Medium
k8s.container.host-port - Container has no CPU limit
KubernetesSeverity: Low
k8s.container.no-cpu-limit - Container adds a dangerous capability
KubernetesSeverity: High
k8s.container.dangerous-capability - Container has no CPU request
KubernetesSeverity: Low
k8s.container.no-cpu-request
Terms: KSPM (Kubernetes security posture management), Kubernetes RBAC, NSA/CISA Kubernetes Hardening Guidance, CIS Benchmarks
All Kubernetes posture checks · The whole catalogue · How this works in TrustIvan · Documentation