turbot/kubernetes_insights

Query: cluster_role_bindings_for_cluster_role

Usage

powerpipe query kubernetes_insights.query.cluster_role_bindings_for_cluster_role

SQL

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