turbot/ibm_insights

Query: ibm_kms_root_key_rotation_disabled_count

Usage

powerpipe query ibm_insights.query.ibm_kms_root_key_rotation_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Root Key Rotation Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
ibm_kms_key
where
rotation_policy = '{}'
and not extractable
and state <> '5';

Dashboards

The query is used in the dashboards: