turbot/kubernetes_insights

Query: role_bindings_for_role

Usage

powerpipe query kubernetes_insights.query.role_bindings_for_role

SQL

select
b.uid as uid
from
kubernetes_role_binding as b,
kubernetes_role as r
where
r.name = b.role_name
and b.context_name = r.context_name
and r.uid = $1;