turbot/alicloud_insights

Query: kms_cmk_rotation_disabled_count

Usage

powerpipe query alicloud_insights.query.kms_cmk_rotation_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'CMK Rotation Disabled' as label,
case
count(*)
when 0 then 'ok'
else 'alert'
end as "type"
from
alicloud_kms_key
where
automatic_rotation = 'Disabled';

Dashboards

The query is used in the dashboards: