English | 中文
This is the scenario in which the AWS S3 bucket MFA Delete is Disable.
Execute the following command in the container
cd /TerraformGoat/aws/s3/mfa_delete_is_disableConfigure AWS Access Credentials
aws configureYou can see the access key in the AWS [Console --> Security Credentials]
Deploy Vulnerable Environment
terraform init
terraform applyWhen the terminal prompts
Enter a value:, enteryes
After the environment is set up, you can see the created Bucket at Outputs.
Get the MFADelete status of the Bucket.
> aws s3api get-bucket-versioning --bucket houxian-xxx
{
"Status": "Enabled",
"MFADelete": "Disabled"
}terraform destroy