Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions demo/bucket.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
provider "aws" {
region = "us-east-1"
}

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
}
}

resource "aws_s3_bucket" "positive1" {
bucket = "my-test-bucket"
Comment on lines +14 to +15

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Infrastructure as Code Configuration Issue

'logging' is undefined or null (...read more)

[f861041c-8c9f-4156-acfc-5e6e524f5884] Server Access Logging should be enabled on S3 Buckets so that all changes are logged and trackable

View in Datadog  Leave us feedback  Documentation

acl = "private"

tags = {
Name = "My bucket"
Environment = "Dev"
Service = "testing-comments"
}

versioning {
enabled = false
}
Comment on lines +25 to +26

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Infrastructure as Code Configuration Issue

'versioning.enabled' is set to false (...read more)

[568a4d22-3517-44a6-a7ad-6a7eed88722c] S3 bucket should have versioning enabled

View in Datadog  Leave us feedback  Documentation

}