Severityhigh
Servicesecuritygroup
E2E Networks security groups should not have an all-traffic rule, which permits unrestricted inbound and outbound network access.
Risk
Security groups that allow all traffic permit unrestricted network access, increasing exposure to lateral movement and data exfiltration.
Run this check with Prowler CLI
prowler e2enetworks --checks securitygroup_no_all_traffic_rule
Recommendation
Restrict security group rules to the required ports and sources only, removing any all-traffic rule.
Source Code
Resource Type
NotDefined