What Inspector Actually Scans, Resource by Resource
~8 min read
The specific scope of Inspector's coverage across EC2, ECR, and Lambda.
For EC2, Inspector scans the operating system and installed software packages for known CVEs, and separately performs network reachability analysis to determine whether a vulnerable instance is actually exposed to the internet — a critical distinction, since a vulnerable-but-unreachable instance is a lower practical risk than a vulnerable-and-internet-facing one, and Inspector's risk scoring reflects this. For ECR, Inspector scans container image layers for known OS package and application dependency CVEs, both on initial push and continuously as new CVEs are published against already-pushed images. For Lambda, Inspector scans function code and its dependencies (including layers) for known vulnerabilities, again continuously, not just at deployment. Across all three, Inspector requires no scan scheduling or manual triggering once enabled — it's a fully automated, continuously running baseline.
💬 Deep Dive with AI
Key points
- •EC2: OS/package CVE scanning plus network reachability analysis for exposure-aware risk scoring
- •ECR: container image layer scanning for CVEs, both on push and continuously afterward
- •Lambda: function code and dependency/layer scanning for known vulnerabilities
- •All three are continuous and automatic once enabled — no manual scan scheduling required