turbot/aws_insights

Query: iam_groups_with_inline_policy_count

Usage

powerpipe query aws_insights.query.iam_groups_with_inline_policy_count

Steampipe Tables

SQL

select
count(*) as value,
'With Inline Policies' as label,
case when count(*) = 0 then 'ok' else 'alert' end as type
from
aws_iam_group
where
jsonb_array_length(inline_policies) > 0;

Dashboards

The query is used in the dashboards: