Benchmark: EC2 Detections
Description
This benchmark contains recommendations when scanning CloudTrail logs for EC2 events.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/tailpipe-mod-aws-cloudtrail-log-detections
Start the Powerpipe server:
powerpipe server
Open http://localhost:9033 in your browser and select EC2 Detections.
Run this benchmark in your terminal:
powerpipe benchmark run aws_cloudtrail_log_detections.benchmark.ec2_detections
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_cloudtrail_log_detections.benchmark.ec2_detections --share
Detections
- EC2 AMI Shared Publicly
- EC2 Instance Launched with Public IP Address
- EC2 Key Pair Deleted
- EC2 Reserved Instance Purchased