turbot/aws_insights

Query: ebs_snapshot_public_table

Usage

powerpipe query aws_insights.query.ebs_snapshot_public_table

SQL

select
s.snapshot_id as "Snapshot ID",
s.tags ->> 'Name' as "Name",
case
when s.create_volume_permissions @> '[{"Group": "all"}]' then 'Enabled'
else null
end as "Public Access",
a.title as "Account",
s.account_id as "Account ID",
s.region as "Region",
s.arn as "ARN"
from
aws_ebs_snapshot as s,
aws_account as a
where
s.account_id = a.account_id
order by
s.snapshot_id;

Dashboards

The query is used in the dashboards: