turbot/gcp_compliance

Query: kubernetes_cluster_node_config_image_cos_containerd

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_node_config_image_cos_containerd

Steampipe Tables

SQL

select
self_link resource,
case
when node_config ->> 'ImageType' = 'COS_CONTAINERD' then 'ok'
else 'alarm'
end as status,
case
when node_config ->> 'ImageType' = 'COS_CONTAINERD' then title || ' Container-Optimized OS(COS) is used.'
else title || ' Container-Optimized OS(COS) not used.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: