standard
turbot/aws_cis
Get Involved
Version
Pipeline: 2.1.2 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.
Adding MFA delete to an S3 bucket, requires additional authentication when you change the version state of your bucket or you delete and object version adding another layer of security in the event your security credentials are compromised or unauthorized access is granted.
Remediation
Perform the steps below to enable MFA delete on an S3 bucket.
Note:
- You cannot enable MFA Delete using the AWS Management Console. You must use the AWS CLI or API.
- You must use your root account to enable MFA Delete on S3 buckets
From Command line:
- Run the s3ap put-bucket-versioning command
aws s3api put-bucket-versioning --profile my-root-profile --bucket Bucket_Name --versioning-configuration Status=Enabled,MFADelete=Enabled --mfa āarn:aws:iam::aws_account_id:mfa/root-account-mfa-device passcodeā
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws_cis.pipeline.cis_v400_2_1_2
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws_cis.pipeline.cis_v400_2_1_2 }
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
database | connection.steampipe | Yes | Database connection string. | connection.steampipe.default |
notifier | notifier | Yes | The name of the notifier to use for sending notification messages. | notifier.default |
notification_level | string | Yes | The verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'. | info |
Outputs
This pipeline has no outputs.
Tags
folderĀ =Ā CIS v4.0.0/2 Storage/2.1 Simple Storage Service (S3)