turbot/kubernetes_insights

Query: daemonset_container_host_pid_status

Usage

powerpipe query kubernetes_insights.query.daemonset_container_host_pid_status

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: