turbot/aws_insights

Query: iam_actions_for_glob_total_statements

Usage

powerpipe query aws_insights.query.iam_actions_for_glob_total_statements

Steampipe Tables

SQL

select
count(distinct action) as value,
$2 as label,
case
when count(*) = 0 then 'ok'
else 'alert'
end as type
from
aws_iam_action as a
where
a.action like lower(glob($1))
and access_level = $2
group by
access_level

Params

ArgsNameDefaultDescriptionVariable
$1action_glob
    $2access_level

      Dashboards

      The query is used in the dashboards: