turbot/aws_insights

Query: kms_key_state

Usage

powerpipe query aws_insights.query.kms_key_state

Steampipe Tables

SQL

select
'State' as label,
key_state as value,
case
when key_state = 'Enabled' then 'ok'
else 'alert'
end as "type"
from
aws_kms_key
where
arn = $1;

Dashboards

The query is used in the dashboards: