turbot/aws_compliance

Query: s3_bucket_object_lock_enabled

Usage

powerpipe query aws_compliance.query.s3_bucket_object_lock_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when object_lock_configuration is null then 'alarm'
else 'ok'
end as status,
case
when object_lock_configuration is null then title || ' object lock not enabled.'
else title || ' object lock enabled.'
end as reason
, region, account_id
from
aws_s3_bucket;

Controls

The query is being used by the following controls: