turbot/aws_insights

Query: ebs_volume_encryption_table

Usage

powerpipe query aws_insights.query.ebs_volume_encryption_table

SQL

select
v.volume_id as "Volume ID",
v.tags ->> 'Name' as "Name",
case when v.encrypted then 'Enabled' else null end as "Encryption",
v.kms_key_id as "KMS Key ID",
a.title as "Account",
v.account_id as "Account ID",
v.region as "Region",
v.arn as "ARN"
from
aws_ebs_volume as v,
aws_account as a
where
v.account_id = a.account_id
order by
v.volume_id;

Dashboards

The query is used in the dashboards: