turbot/aws_insights

Query: ebs_snapshot_by_encryption_status

Usage

powerpipe query aws_insights.query.ebs_snapshot_by_encryption_status

Steampipe Tables

SQL

select
encryption_status,
count(*)
from
(
select
encrypted,
case
when encrypted then 'enabled'
else 'disabled'
end encryption_status
from
aws_ebs_snapshot
) as t
group by
encryption_status
order by
encryption_status;

Dashboards

The query is used in the dashboards: