turbot/aws_insights

Query: rds_db_instance_public_access_table

Usage

powerpipe query aws_insights.query.rds_db_instance_public_access_table

SQL

select
i.db_instance_identifier as "DB Instance Identifier",
case
when i.publicly_accessible then 'Public' else 'Private' end as "Public/Private",
i.status as "Status",
a.title as "Account",
i.account_id as "Account ID",
i.region as "Region",
i.arn as "ARN"
from
aws_rds_db_instance as i,
aws_account as a
where
i.account_id = a.account_id
order by
i.db_instance_identifier;

Dashboards

The query is used in the dashboards: