turbot/aws_insights

Query: iam_groups_without_users_count

Usage

powerpipe query aws_insights.query.iam_groups_without_users_count

Steampipe Tables

SQL

select
count(*) as value,
'Without Users' as label,
case
when count(*) = 0 then 'ok'
else 'alert'
end as type
from
aws_iam_group
where
users is null;

Dashboards

The query is used in the dashboards: