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

Create s3.tf #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Create s3.tf #1

wants to merge 1 commit into from

Conversation

Takashiyamam
Copy link
Owner

No description provided.

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 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 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 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 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 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 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 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
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.

1 participant