turbot/aws_insights

Query: s3_bucket_public

Usage

powerpipe query aws_insights.query.s3_bucket_public

Steampipe Tables

SQL

select
'Public Access' as label,
case when block_public_acls and block_public_policy and ignore_public_acls and restrict_public_buckets then 'Disabled' else 'Enabled' end as value,
case when block_public_acls and block_public_policy and ignore_public_acls and restrict_public_buckets then 'ok' else 'alert' end as type
from
aws_s3_bucket
where
arn = $1;

Dashboards

The query is used in the dashboards: