turbot/oci_insights

Query: kms_key_disabled_count

Usage

powerpipe query oci_insights.query.kms_key_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Disabled Keys' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
oci_kms_key
where
lifecycle_state = 'DISABLED';

Dashboards

The query is used in the dashboards: