What is the purpose of image scanning in CI and in the cluster?
BeginnerProductionSecurity Hardening & Compliance
Answer
CI scanning (Trivy, Grype) blocks known critical CVEs before deploy; registry scanning (ECR enhanced scanning with Inspector) catches newly disclosed CVEs in stored images; runtime scanning flags what is running. Combine with minimal base images and regular rebuilds so fixes flow without manual work.
trivy image --severity CRITICAL,HIGH --exit-code 1 repo/app:1.8.3
More on Security Hardening & Compliance
What is the baseline security checklist for a production cluster?BeginnerWhy should containers run as non-root?BeginnerHow should human access to the cluster be managed?BeginnerWhy not store secrets in Git or in ConfigMaps?BeginnerWhat is a default-deny NetworkPolicy baseline?BeginnerWhy should nodes be treated as immutable?Beginner