turbot/kubernetes_insights

Query: deployment_container_host_pid

Usage

powerpipe query kubernetes_insights.query.deployment_container_host_pid

Steampipe Tables

SQL

select
'Host PID Sharing' as label,
case
when template -> 'spec' ->> 'hostPID' = 'true' then 'Enabled'
else 'Disabled'
end as value,
case
when template -> 'spec' ->> 'hostPID' = 'true' then 'alert'
else 'ok'
end as type
from
kubernetes_deployment
where
uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: