turbot/kubernetes_insights

Query: cronjob_container_host_ipc

Usage

powerpipe query kubernetes_insights.query.cronjob_container_host_ipc

Steampipe Tables

SQL

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

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: