Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

Security group should not allow 0.0.0.0/0 ingress on SSH (port 22) or RDP (port 3389)

AWS_EC2_003 CRITICAL Security

What it checks

Security group: ingress allows 0.0.0.0/0 on SSH (22) or RDP (3389).

Where it applies

Terraform: aws_security_group, aws_security_group_rule

CloudFormation: AWS::EC2::SecurityGroup

How to fix it

  1. Remove the 0.0.0.0/0 ingress rule for ports 22/3389
  2. Replace with SSM Session Manager (no inbound port needed) or a bastion host with restricted SG

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules