turbot/kubernetes_insights

Query: role_bindings_for_namespace

Usage

powerpipe query kubernetes_insights.query.role_bindings_for_namespace

SQL

select
b.uid as uid
from
kubernetes_role_binding as b,
kubernetes_namespace as n
where
b.namespace = n.name
and b.context_name = n.context_name
and n.uid = $1;