turbot/kubernetes_insights

Query: service_account_overview

Usage

powerpipe query kubernetes_insights.query.service_account_overview

SQL

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

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: