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

Update main.tf #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions iac-misconfiguration/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

resource "aws_alb_listener" "my-alb-listener" {
port = "80"
port = "8080"
protocol = "HTTP"
}

Expand Down Expand Up @@ -42,7 +42,7 @@
}

resource "aws_api_gateway_domain_name" "valid_security_policy" {
security_policy = "TLS_1_2"
security_policy = "TLS_1_1"

Check failure

Code scanning / Trivy

API Gateway domain name uses outdated SSL/TLS protocols. High

Artifact: iac-misconfiguration/main.tf
Type: terraform
Vulnerability AVD-AWS-0005
Severity: HIGH
Message: Domain name is configured with an outdated TLS policy.
Link: AVD-AWS-0005

Check failure

Code scanning / defsec

API Gateway domain name uses outdated SSL/TLS protocols. Error

Domain name is configured with an outdated TLS policy.
}

#tfsec:ignore:AWS092
Expand All @@ -65,4 +65,4 @@

resource "aws_instance" "my_project" {

}
}
Loading