turbot/kubernetes_insights

Query: replicaset_container_host_network

Usage

powerpipe query kubernetes_insights.query.replicaset_container_host_network

Steampipe Tables

SQL

select
'Host Network Access' as label,
case when template -> 'spec' ->> 'hostNetwork' = 'true' then 'Enabled' else 'Disabled' end as value,
case when template -> 'spec' ->> 'hostNetwork' = 'true' then 'alert' else 'ok' end as type
from
kubernetes_replicaset
where
uid = $1;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: