turbot/alicloud_insights

Query: kms_deletion_protection

Usage

powerpipe query alicloud_insights.query.kms_deletion_protection

Steampipe Tables

SQL

select
'Deletion Protection' as label,
deletion_protection as value,
case when deletion_protection='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: