turbot/alicloud_insights

Query: rds_instance_public_access_table

Usage

powerpipe query alicloud_insights.query.rds_instance_public_access_table

SQL

select
i.db_instance_id as "DB Instance ID",
case
when i.db_instance_net_type = 'Extranet' then 'Public' else 'Private' end as "Public/Private",
i.db_instance_status as "Status",
a.title as "Account",
i.account_id as "Account ID",
i.region as "Region",
i.arn as "ARN"
from
alicloud_rds_instance as i,
alicloud_account as a
where
i.account_id = a.account_id
order by
i.db_instance_id;

Dashboards

The query is used in the dashboards: