turbot/gcp_compliance

Query: kubernetes_cluster_shielded_instance_integrity_monitoring_enabled

Usage

powerpipe query gcp_compliance.query.kubernetes_cluster_shielded_instance_integrity_monitoring_enabled

Steampipe Tables

SQL

select
self_link resource,
case
when (node_config -> 'ShieldedInstanceConfig' ->> 'EnableIntegrityMonitoring')::bool then 'ok'
else 'alarm'
end as status,
case
when (node_config -> 'ShieldedInstanceConfig' ->> 'EnableIntegrityMonitoring')::bool then title || ' shielded instance integrity monitoring enabled.'
else title || ' shielded instance integrity monitoring disabled.'
end as reason
, location as location, project as project
from
gcp_kubernetes_cluster;

Controls

The query is being used by the following controls: