Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFA in s3 buckets #3753

Closed
securylight opened this issue Jun 23, 2021 · 1 comment · Fixed by #4111
Closed

MFA in s3 buckets #3753

securylight opened this issue Jun 23, 2021 · 1 comment · Fixed by #4111

Comments

@securylight
Copy link

securylight commented Jun 23, 2021

Using Terraform one can create an s3 bucket.
when the Terraform doesn't include the MFA feature, KICS identifies it as a high finding.
but, it's not possible to config MFA on buckets using Terraform.
A possible solution is to use AWS cli after the Terraform and then use Terraform refresh.

it might be a good idea to write something about it, in kics report.

Links about Terraform doesn't support MFA in IaC with buckets:

hashicorp/terraform-provider-aws#629
hashicorp/terraform#12973

Terraform refresh

https://www.hashicorp.com/blog/detecting-and-managing-drift-with-terraform

Terraform with MFA

bucketmfa.tf.txt

Specifications

  • Version: v1.3.2
  • Platform: Terraform
  • Subsystem:
@rogeriopeixotocx
Copy link
Contributor

There's a chance we can solve this once we get post tfplan scanning working #3903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants