2 Answers
- Newest
- Most votes
- Most comments
1
Hi Bala,
Activating Inspector for EC2 Scans:
Activate Inspector:
- Open the Amazon Inspector console.
- Click on "Activate Inspector" to enable it for scanning resources.
Create an Assessment Template (Focus on EC2):
- Navigate to the Assessments section.
- Click "Create assessment template."
Define Scan Targets (EC2 Only):
- In the template, choose Resource type: EC2.
- Under Scan targets, use filters to specify which EC2 instances to scan: => Tags: Filter by tags assigned to your instances (e.g., Department=Finance). => Instance IDs: Enter specific instance IDs (comma-separated) to scan. => VPC IDs: Scan instances within a particular VPC (Virtual Private Cloud).
Save the Template:
Give your template a descriptive name and save it.
Run Scans Using the Template:
Now, when you initiate a scan, choose the newly created template. This ensures only the EC2 instances matching your filters are scanned.
NOTE: Inspector might require the SSM Agent to be installed and running on your EC2 instances for detailed vulnerability scanning.
Here I am providing reference link: https://docs.aws.amazon.com/inspector/latest/user/scanning-ec2.html
0
Scanning Amazon EC2 instances with Amazon Inspector: https://docs.aws.amazon.com/inspector/latest/user/scanning-ec2.html
Relevant content
- asked a month ago
- asked 3 years ago
- asked 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
Hi, see also https://docs.aws.amazon.com/inspector/v1/userguide/inspector_applications.html#tagging to see how to use tagging to define assessment targets.