turbot/aws_insights

Query: kms_key_disabled_status

Usage

powerpipe query aws_insights.query.kms_key_disabled_status

Steampipe Tables

SQL

select
disabled_status,
count(*)
from
(
select
case
when enabled then 'enabled'
else 'disabled'
end disabled_status
from
aws_kms_key
) as t
group by
disabled_status
order by
disabled_status desc;

Dashboards

The query is used in the dashboards: