turbot/aws_insights

Query: rds_db_instance_snapshot_encryption_table

Usage

powerpipe query aws_insights.query.rds_db_instance_snapshot_encryption_table

SQL

select
s.db_snapshot_identifier as "DB Snapshot Identifier",
case when encrypted then 'Enabled' else null end as "Encryption",
s.kms_key_id as "KMS Key ID",
a.title as "Account",
s.account_id as "Account ID",
s.region as "Region",
s.arn as "ARN"
from
aws_rds_db_snapshot as s,
aws_account as a
where
s.account_id = a.account_id
order by
s.db_snapshot_identifier;

Dashboards

The query is used in the dashboards: