Benchmark: Security Group Access
This benchmark answers the following questions:
- What security groups allow unrestricted ingress for TCP & UDP?
- What security groups allow unrestricted ingress for common ports (20, 21, 22, 3306, 3389, 4333)?
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-perimeter
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Security Group Access.
Run this benchmark in your terminal:
powerpipe benchmark run aws_perimeter.benchmark.security_group_access
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_perimeter.benchmark.security_group_access --share
Controls
- VPC security groups should restrict ingress access on ports 20, 21, 22, 3306, 3389, 4333 from 0.0.0.0/0
- VPC security groups should restrict ingress TCP and UDP access from 0.0.0.0/0