turbot/gcp_insights

Query: compute_shielded_vm_disabled_count

Usage

powerpipe query gcp_insights.query.compute_shielded_vm_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Shielded VM Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
gcp_compute_instance
where
not shielded_instance_config @> '{"enableVtpm": true, "enableIntegrityMonitoring": true}';

Dashboards

The query is used in the dashboards: