turbot/gcp_insights

Query: kms_rotation_disabled_count

Usage

powerpipe query gcp_insights.query.kms_rotation_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Rotation Disabled' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
gcp_kms_key
where
rotation_period is null;

Dashboards

The query is used in the dashboards: