turbot/aws_insights

Query: rds_db_instance_encryption_table

Usage

powerpipe query aws_insights.query.rds_db_instance_encryption_table

SQL

select
i.db_instance_identifier as "DB Instance Identifier",
case when i.storage_encrypted then 'Enabled' else null end as "Encryption",
i.kms_key_id as "KMS Key ID",
a.title as "Account",
i.account_id as "Account ID",
i.region as "Region",
i.arn as "ARN"
from
aws_rds_db_instance as i,
aws_account as a
where
i.account_id = a.account_id
order by
i.db_instance_identifier;

Dashboards

The query is used in the dashboards: