-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update s3.tf #67
base: main
Are you sure you want to change the base?
Update s3.tf #67
Conversation
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.
Prisma Cloud has found errors in this PR ⬇️
@@ -14,6 +14,7 @@ resource "aws_s3_bucket" "default" { | |||
object_lock_enabled = "Enabled" | |||
} | |||
} | |||
|
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.
my policy
Resource: aws_s3_bucket.default | ID: 927241494778216448_AWS_1663000409666
@@ -14,6 +14,7 @@ resource "aws_s3_bucket" "default" { | |||
object_lock_enabled = "Enabled" | |||
} | |||
} | |||
|
|||
} |
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.
} | |
} | |
resource "aws_s3_bucket" "default_log_bucket" { | |
bucket = "default-log-bucket" | |
} | |
resource "aws_s3_bucket_logging" "default" { | |
bucket = aws_s3_bucket.default.id | |
target_bucket = aws_s3_bucket.default_log_bucket.id | |
target_prefix = "log/" | |
} | |
AWS Access logging not enabled on S3 buckets
Resource: aws_s3_bucket.default | ID: BC_AWS_S3_13
Description
Access logging provides detailed audit logging for all objects and folders in an S3 bucket.Benchmarks
- HIPAA 164.312(B) Audit controls
@@ -14,6 +14,7 @@ resource "aws_s3_bucket" "default" { | |||
object_lock_enabled = "Enabled" | |||
} | |||
} | |||
|
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.
No description provided.