turbot/steampipe-mod-aws-insights

Query: s3_bucket_inventory_table

Usage

powerpipe query aws_insights.query.s3_bucket_inventory_table

Steampipe Tables

SQL

select
b.title as "Name",
b.creation_date as "Creation Date",
b.bucket_policy_is_public as "Bucket Policy is Public",
b.versioning_enabled as "Versioning",
b.lifecycle_rules as "Lifecycle Rules",
b.logging as "Logging",
b.policy as "Policy",
b.tags as "Tags",
b.arn as "ARN",
b.account_id as "Account ID",
a.title as "Account",
b.region as "Region"
from
aws_s3_bucket as b,
aws_account as a
where
b.account_id = a.account_id
order by
b.name;

Dashboards

The query is used in the dashboards: