turbot/aws_compliance

Query: rds_db_instance_prohibit_public_access

Usage

powerpipe query aws_compliance.query.rds_db_instance_prohibit_public_access

Steampipe 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;

Controls

The query is being used by the following controls: