turbot/alicloud_insights

Query: kms_key_rotation_enabled

Usage

powerpipe query alicloud_insights.query.kms_key_rotation_enabled

Steampipe Tables

SQL

select
'Key Rotation' as label,
automatic_rotation as value,
case when automatic_rotation='Enabled' then 'ok' else 'alert' end as type
from
alicloud_kms_key
where
arn = $1
and account_id = split_part($1,':',4)
and region = split_part($1,':',3);

Dashboards

The query is used in the dashboards: