turbot/kubernetes_insights

Query: role_rules_count

Usage

powerpipe query kubernetes_insights.query.role_rules_count

Steampipe Tables

SQL

select
'Rules' as label,
count(r) as value
from
kubernetes_role,
jsonb_array_elements(rules) as r
where
uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: