What is the difference between vulnerability scanning at build time, registry time and runtime?
BeginnerProductionImage Security & Hardening
Answer
Build-time (CI) stops new issues before publish. Registry scanning (ECR Enhanced scanning with Inspector, Harbor+Trivy) catches CVEs published after the image was built. Runtime tools (Falco, Tetragon, Wazuh) detect behavior like unexpected shells or outbound connections. You need all three, since a clean build can become vulnerable next week.
More on Image Security & Hardening
Why should containers not run as root, and how do you enforce it?BeginnerWhat is a distroless image and what are the trade-offs?BeginnerHow do you scan an image with Trivy and fail a CI build on serious findings?BeginnerHow do you manage Trivy false positives and accepted risks?IntermediateWhich `docker run` flags make up a hardened runtime baseline?BeginnerWhat does `no-new-privileges` protect against?Beginner