Ensure AWS RDS security groups are defined

Error: AWS RDS security groups are not defined

Bridgecrew Policy ID: BC_AWS_NETWORKING_74
Checkov Check ID: CKV_AWS_198
Severity: LOW

AWS RDS security groups are not defined

Description

By ensuring that AWS RDS security groups are defined, you can help protect your instances from unauthorized access and ensure that only authorized traffic is allowed to reach your instances. This can help prevent data breaches and other security incidents, and can also help ensure that your instances are not overwhelmed by unwanted traffic.

Fix - Buildtime

Terraform

resource "aws_db_security_group" "exists" {
  name = "rds_sg"

  ingress {
    cidr = "10.0.0.0/24"
  }
}