turbot/aws_insights

Query: eks_cluster_logging

Usage

powerpipe query aws_insights.query.eks_cluster_logging

Steampipe Tables

SQL

select
t as "Type",
l ->> 'Enabled'::text as "Enabled"
from
aws_eks_cluster,
jsonb_array_elements(logging -> 'ClusterLogging') as l,
jsonb_array_elements_text(l -> 'Types') as t
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: