Control: Ensure MFA Delete is enabled on S3 buckets
Description
Once MFA Delete is enabled on your sensitive and classified S3 bucket it requires the user to have two forms of authentication.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.s3_bucket_mfa_delete_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.s3_bucket_mfa_delete_enabled --share
SQL
This control uses a named query:
select arn as resource, case when versioning_mfa_delete then 'ok' else 'alarm' end as status, case when versioning_mfa_delete then name || ' MFA delete enabled.' else name || ' MFA delete disabled.' end as reason , region, account_idfrom aws_s3_bucket;