turbot/aws_compliance

Query: s3_bucket_versioning_enabled

Usage

powerpipe query aws_compliance.query.s3_bucket_versioning_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when versioning_enabled then 'ok'
else 'alarm'
end as status,
case
when versioning_enabled then name || ' versioning enabled.'
else name || ' versioning disabled.'
end as reason
, region, account_id
from
aws_s3_bucket;

Controls

The query is being used by the following controls: