Control: Ensure no security groups allow ingress from 0.0.0.0/0 to remote server administration ports
Description
Security groups provide stateful filtering of ingress and egress network traffic to AWS resources. It is recommended that no security group allows unrestricted ingress access to remote server administration ports, such as SSH to port 22 and RDP to port 3389, using either the TCP (6), UDP (17) or ALL (-1) protocols.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.vpc_security_group_remote_administration_ipv4
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.vpc_security_group_remote_administration_ipv4 --share
SQL
This control uses a named query:
vpc_security_group_remote_administration_ipv4