Skip to content

Commit

Permalink
checkov suppress for CKV_AWS_378
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Oct 3, 2024
1 parent 27d8057 commit d404587
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infra/load_balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ resource "aws_lb_target_group" "blue_target_group" {
matcher = "200,301,302,404"
path = "/healthcheck"
}
#checkov:skip=CKV_AWS_378: Ensure AWS Load Balancer doesn't use HTTP protocol
#This is disabled since this is non-prod.
}

Check warning

Code scanning / checkov

Ensure AWS Load Balancer doesn't use HTTP protocol Warning

Ensure AWS Load Balancer doesn't use HTTP protocol
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_target_group
resource "aws_lb_target_group" "green_target_group" {
Expand All @@ -36,6 +38,8 @@ resource "aws_lb_target_group" "green_target_group" {
matcher = "200,301,302,404"
path = "/healthcheck"
}
#checkov:skip=CKV_AWS_378: Ensure AWS Load Balancer doesn't use HTTP protocol
#This is disabled since this is non-prod.
}

Check warning

Code scanning / checkov

Ensure AWS Load Balancer doesn't use HTTP protocol Warning

Ensure AWS Load Balancer doesn't use HTTP protocol
#https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb_listener
resource "aws_alb_listener" "listener" {
Expand Down

0 comments on commit d404587

Please sign in to comment.