Overview
RDS instances should be accessible only through well-defined paths and only from networks you manage. We recommend to disable 'Public access' if possible which removes the public IP address assigned to the database instance.
Remediation guidance
From the Console
Perform the following action to turn off public accessibility:
-
Open the security settings using the "Open in AWS" menu option
-
Click
Modify -
Navigate to
Connectivityand clickAdditional configurations -
Select the
No public accessbutton -
Click
Continueand thenModify DB instance
Default Value
By default, public access is not allowed in your database instance. Only Amazon resources inside the VPC can connect to your database.
References
Service-wide remediation
Recommended when many resources are affected: fix the platform baseline first so new resources inherit the secure setting, then remediate the existing flagged resources in batches.
AWS
Use AWS Organizations guardrails, AWS Config rules or conformance packs where they fit, approved account baselines, and IaC modules so new resources inherit the secure setting.
Operational rollout
- Fix the baseline first at the account, subscription, project, cluster, or tenant scope that owns this control.
- Remediate the currently affected resources in batches, starting with internet-exposed and production assets.
- Re-scan and track approved exceptions with an owner and expiry date.
Query logic
These are the stored checks tied to this control.
RDS instances are not publicly reachable
Connectors
Covered asset types
Expected check: eq []
{dbInstances(where:{publicAccessBlocked:false}){...AssetFragment}}
AWS