turbot/aws_insights

Query: kms_keys_for_rds_db_cluster_snapshot

Usage

powerpipe query aws_insights.query.kms_keys_for_rds_db_cluster_snapshot

SQL

select
kms_key_id as key_arn
from
aws_rds_db_cluster_snapshot
where
kms_key_id is not null
and arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);