turbot/kubernetes_insights

Query: job_container_host_pid_count

Usage

powerpipe query kubernetes_insights.query.job_container_host_pid_count

Steampipe Tables

SQL

select
count(name) as value,
'Host PID Sharing Enabled' as label,
case count(name) when 0 then 'ok' else 'alert' end as type
from
kubernetes_job
where
template -> 'spec' ->> 'hostPID' = 'true';

Dashboards

The query is used in the dashboards: