turbot/alicloud_insights

Query: rds_instance_public_status

Usage

powerpipe query alicloud_insights.query.rds_instance_public_status

Steampipe Tables

SQL

with db_instances as (
select
case
when db_instance_net_type = 'Intranet' then 'private'
else 'public'
end as visibility
from
alicloud_rds_instance
)
select
visibility,
count(*)
from
db_instances
group by
visibility;

Dashboards

The query is used in the dashboards: