turbot/aws_insights

Query: iam_role_no_boundary_count

Usage

powerpipe query aws_insights.query.iam_role_no_boundary_count

Steampipe Tables

SQL

select
count(*) as value,
'No Boundary Policy' as label,
case when count(*) = 0 then 'ok' else 'alert' end as type
from
aws_iam_role
where
permissions_boundary_type is null or permissions_boundary_type = '';

Dashboards

The query is used in the dashboards: