Skip to content

Create s3.tf#2

Closed
dimitryk1 wants to merge 1 commit into
mainfrom
terraform-workshop-test
Closed

Create s3.tf#2
dimitryk1 wants to merge 1 commit into
mainfrom
terraform-workshop-test

Conversation

@dimitryk1
Copy link
Copy Markdown
Owner

No description provided.

Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure S3 buckets should have event notifications enabled Error

Ensure S3 buckets should have event notifications enabled
Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure that S3 bucket has a Public Access block Error

Ensure that S3 bucket has a Public Access block
Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure all data stored in the S3 bucket have versioning enabled Error

Ensure all data stored in the S3 bucket have versioning enabled
Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure that S3 buckets are encrypted with KMS by default Error

Ensure that S3 buckets are encrypted with KMS by default
Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure that S3 bucket has cross-region replication enabled Error

Ensure that S3 bucket has cross-region replication enabled
Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure the S3 bucket has access logging enabled Error

Ensure the S3 bucket has access logging enabled
Comment thread code/build/s3.tf
Comment on lines +5 to +11
resource "aws_s3_bucket" "dev_s3" {
bucket_prefix = "dev-"

tags = {
Environment = "Dev"
}
}

Check failure

Code scanning / checkov

Ensure that an S3 bucket has a lifecycle configuration Error

Ensure that an S3 bucket has a lifecycle configuration
Comment thread code/build/s3.tf
Comment on lines +13 to +18
resource "aws_s3_bucket_ownership_controls" "dev_s3" {
bucket = aws_s3_bucket.dev_s3.id
rule {
object_ownership = "BucketOwnerPreferred"
}
}

Check failure

Code scanning / checkov

Ensure access control lists for S3 buckets are disabled Error

Ensure access control lists for S3 buckets are disabled
@dimitryk1 dimitryk1 closed this May 15, 2025
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 this pull request may close these issues.

2 participants