turbot/aws_perimeter
GitHub
Loading controls...

Control: RDS DB instances should prohibit public access

Description

Manage access to resources in the AWS Cloud by ensuring that RDS instances are not public.

Usage

Run the control in your terminal:

steampipe check aws_perimeter.control.rds_db_instance_prohibit_public_access

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share aws_perimeter.control.rds_db_instance_prohibit_public_access

Plugins & Tables

SQL

select
arn as resource,
case
when publicly_accessible then 'alarm'
else 'ok'
end status,
case
when publicly_accessible then title || ' publicly accessible.'
else title || ' not publicly accessible.'
end reason,
region,
account_id
from
aws_rds_db_instance;

Tags