turbot/kubernetes_insights

Query: role_overview

Usage

powerpipe query kubernetes_insights.query.role_overview

SQL

select
r.name as "Name",
r.uid as "UID",
r.creation_timestamp as "Create Time",
r.resource_version as "Resource Version",
n.uid as "Namespace UID",
n.name as "Namespace",
r.context_name as "Context Name"
from
kubernetes_role as r,
kubernetes_namespace as n
where
n.name = r.namespace
and n.context_name = r.context_name
and r.uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: