Risk Level: High
Cloud Entity: AWS Security Group
CloudGuard Rule ID: D9.CFT.NET.04
Covered by Spectral: Yes
Category: Networking & Content Delivery
AWS_EC2_SecurityGroupIngress should not have CidrIp='0.0.0.0/0' and FromPort>='3389' and ToPort<='3389'
CidrIp property to be a restrictive IP
A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. When you launch an instance in a VPC, you can assign up to five security groups to the instance. Security groups act at the instance level, not the subnet level. Therefore, each instance in a subnet in your VPC could be assigned to a different set of security groups. If you don't specify a particular group at launch time, the instance is automatically assigned to the default security group for the VPC.
- AWS CloudFormation ruleset
Updated 16 days ago