-
Notifications
You must be signed in to change notification settings - Fork 0
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
test #38
test #38
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -3,7 +3,7 @@ resource "aws_s3_bucket" "data" { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# bucket is not encrypted | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
AWS Access logging not enabled on S3 buckets
|
# bucket is not encrypted | |
resource "aws_s3_bucket" "data" { | |
# bucket is public | |
# bucket is not encrypted | |
# bucket does not have access logs | |
# bucket does not have versioning | |
# test update | |
bucket = "${local.resource_prefix.value}-data" | |
force_destroy = true | |
tags = merge({ | |
Name = "${local.resource_prefix.value}-data" | |
Environment = local.resource_prefix.value | |
}, { | |
git_commit = "4d57f83ca4d3a78a44fb36d1dcf0d23983fa44f5" | |
git_file = "terraform/aws/s3.tf" | |
git_last_modified_at = "2022-05-18 07:08:06" | |
git_last_modified_by = "nimrod@bridgecrew.io" | |
git_modifiers = "34870196+LironElbaz/nimrod/nimrodkor" | |
git_org = "bridgecrewio" | |
git_repo = "terragoat" | |
yor_trace = "0874007d-903a-4b4c-945f-c9c233e13243" | |
}) | |
} | |
resource "aws_s3_bucket_versioning" "data" { | |
bucket = aws_s3_bucket.data.id | |
versioning_configuration { | |
status = "Enabled" | |
} | |
} | |
AWS S3 Object Versioning is disabled
Resource: aws_s3_bucket.data | Bridgecrew ID: 1043237819080398848_AWS_1681219068903
| Checkov ID: CKV_AWS_21
Description
https://docs.bridgecrew.io/docs/s3_16-enable-versioningBenchmarks
- FEDRAMP (MODERATE) CP-10, SI-12
- PCI-DSS V3.2.1 10.5.3
🪄 Smart Fix -
Fix based on 100% past actions in this repository
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weib Test S3
Resource: aws_s3_bucket.data | Bridgecrew ID:
1043237819080398848_AWS_1673630255979
Description
Remove public access