HIGH
Source
Trivy
ID
AVD-AWS-0180

RDS Publicly Accessible

Ensures RDS instances and RDS Cluster instances are not launched into the public cloud.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Remove the public endpoint from the RDS instance.

1
2
3
4
5
6
7
8
9
AWSTemplateFormatVersion: 2010-09-09
Description: Good example
Resources:
  Queue:
    Type: AWS::RDS::DBInstance
    Properties:
      PubliclyAccessible: false


Remove the public endpoint from the RDS instance.

1
2
3
4
 resource "aws_db_instance" "good_example" {
 	publicly_accessible = false
 }