turbot/alicloud_insights

Query: rds_instance_instance_public_access

Usage

powerpipe query alicloud_insights.query.rds_instance_instance_public_access

Steampipe Tables

SQL

select
'Public Access' as label,
case when db_instance_net_type = 'Extranet' then 'Enabled' else 'Disabled' end as value,
case when db_instance_net_type = 'Extranet' then 'alert' else 'ok' end as type
from
alicloud_rds_instance
where
arn = $1
and account_id = split_part($1,':',5)
and region = split_part($1,':',4);

Dashboards

The query is used in the dashboards: