turbot/ibm_insights

Query: ibm_kms_root_key_rotation_enabled

Usage

powerpipe query ibm_insights.query.ibm_kms_root_key_rotation_enabled

Steampipe Tables

SQL

select
'Root Key Rotation' as label,
case
when extractable then 'N/A'
when not extractable
and rotation_policy = '{}' then 'Disabled'
else 'Enabled'
end as value,
case
when not extractable
and rotation_policy = '{}' then 'alert'
else 'ok'
end as type
from
ibm_kms_key
where
crn = $1;

Params

ArgsNameDefaultDescriptionVariable
$1crn

    Dashboards

    The query is used in the dashboards: