turbot/aws_insights

Query: ebs_snapshot_public_count

Usage

powerpipe query aws_insights.query.ebs_snapshot_public_count

Steampipe Tables

SQL

select
count(*) as value,
'Publicly Accessible' as label,
case count(*) when 0 then 'ok' else 'alert' end as type
from
aws_ebs_snapshot
where
create_volume_permissions @> '[{"Group": "all"}]';

Dashboards

The query is used in the dashboards: