turbot/aws_insights

Query: s3_bucket_age_table

Usage

powerpipe query aws_insights.query.s3_bucket_age_table

Steampipe Tables

SQL

select
b.name as "Name",
now() :: date - b.creation_date :: date as "Age in Days",
b.creation_date as "Create Time",
a.title as "Account",
b.account_id as "Account ID",
b.region as "Region",
b.arn as "ARN"
from
aws_s3_bucket as b,
aws_account as a
where
b.account_id = a.account_id
order by
b.creation_date,
b.name;

Dashboards

The query is used in the dashboards: