turbot/alicloud_insights

Query: ram_users_with_direct_policy_count

Usage

powerpipe query alicloud_insights.query.ram_users_with_direct_policy_count

Steampipe Tables

SQL

select
count(*) as value,
'With Direct Attached Policies' as label,
case when count(*) = 0 then 'ok' else 'alert' end as type
from
alicloud_ram_user
where
attached_policy != '[]'

Dashboards

The query is used in the dashboards: