turbot/alicloud_insights

Query: ram_roles_by_account

Usage

powerpipe query alicloud_insights.query.ram_roles_by_account

SQL

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

Dashboards

The query is used in the dashboards: