turbot/alicloud_insights

Query: ecs_security_group_by_acount

Usage

powerpipe query alicloud_insights.query.ecs_security_group_by_acount

SQL

select
a.title as "account",
count(s.*) as "total"
from
alicloud_ecs_security_group as s,
alicloud_account as a
where
a.account_id = s.account_id
group by
account
order by
account;

Dashboards

The query is used in the dashboards: