turbot/kubernetes_insights

Query: cronjob_container_host_network_status

Usage

powerpipe query kubernetes_insights.query.cronjob_container_host_network_status

Steampipe Tables

SQL

select
case when job_template -> 'spec' -> 'template' -> 'spec' ->> 'hostNetwork' = 'true' then 'enabled' else 'disabled' end as status,
count(*)
from
kubernetes_cronjob
group by
status;

Dashboards

The query is used in the dashboards: