turbot/kubernetes_insights

Query: role_rules_detail

Usage

powerpipe query kubernetes_insights.query.role_rules_detail

Steampipe Tables

SQL

select
r -> 'verbs' as "Verbs",
r -> 'apiGroups' as "API Groups",
r -> 'resources' as "Resources",
r -> 'resourceNames' as "Resource Names"
from
kubernetes_role,
jsonb_array_elements(rules) as r
where
uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: