How to Find Publicly Accessible AWS RDS Instances
Publicly accessible databases could expose sensitive data to bad actors.
This security check is part of the CIS Amazon Web Services Benchmarks and is rated severity critical.
> search is(aws_rds_instance) and db_publicly_accessible==true
kind=aws_rds_instance, ..., region=resoto-poweruser
kind=aws_rds_instance, ..., account=poweruser-team
searchcommand into the
> search is(aws_rds_instance) and db_publicly_accessible==true | dump
The command output will list the details of all non-compliant
- Do not allow public access.
Please refer to the AWS RDS documentation for details.