Service · Security, Identity, and Compliance
Amazon Inspector
Scans EC2 instances, container images and Lambda functions for known software vulnerabilities and network exposure.
- 1Inspector discovers your EC2 instances, ECR images and Lambda functions, and scans them.
- 2It reports each vulnerability or open network path, with a risk score for your environment.
- 3Findings go to AWS Security Hub, where you can rank them with your other findings.
Step by step
- 1Inspector discovers your EC2 instances, ECR images and Lambda functions, and scans them.
- 2It reports each vulnerability or open network path, with a risk score for your environment.
- 3Findings go to AWS Security Hub, where you can rank them with your other findings.
Inspector scans three kinds of workload and reports what it finds.
What it is
Amazon Inspector is a vulnerability management service. It discovers your workloads automatically and keeps scanning them for known software vulnerabilities, which are published as CVEs, and for unintended network exposure. It covers Amazon EC2 instances, container images in Amazon Elastic Container Registry (Amazon ECR) and AWS Lambda functions.
You do not schedule scans. Inspector scans again when something changes, for example when new software is installed or a new CVE is published. Each finding gets a risk score adjusted to your environment, and advice on how to fix it. When you fix the problem, Inspector closes the finding.
What it is
Inspector also helps with network security in a VPC. Security groups and network ACLs decide which traffic can reach an instance. Inspector checks the result. It reports EC2 instances with ports that can be reached from outside the VPC, for example from the internet, which often means a security group or network ACL is too open.
Remember
- Finds known vulnerabilities (CVEs) and open network paths.
- Scans EC2 instances, ECR container images and Lambda functions.
- Continuous: it scans again when software changes or a new CVE appears.
- EC2 scanning works with the AWS Systems Manager agent, or without an agent by using EBS snapshots.
- Inspector reports problems. Patching them is still your job.
Remember
- Findings also go to AWS Security Hub and Amazon EventBridge.
On the exam
- “Automatically scan EC2 instances and container images for software vulnerabilities” points to Amazon Inspector.
- “Find EC2 instances that can be reached from the internet on open ports” also points to Inspector.
- “Detect active threats, such as calls from a known malicious IP address” points to Amazon GuardDuty, not Inspector.
Do not mix it up with
Amazon GuardDutyDetects threats, such as stolen credentials or cryptomining, by analyzing your account’s activity and network logs.
Amazon MacieFinds sensitive data, such as personal and financial details, in Amazon S3, and flags buckets that are at risk.
AWS Trusted AdvisorChecks your account against AWS best practices and recommends fixes for cost, performance, security and more.