Nifcloud LB Using HTTP Port

  • Query id: 94e47f3f-b90b-43a1-a36d-521580bae863
  • Query name: Nifcloud LB Using HTTP Port
  • Platform: Terraform
  • Severity: Medium
  • Category: Networking and Firewall
  • CWE: 319
  • URL: Github

Description

The LB using HTTP port
Documentation

Code samples

Code samples with security vulnerabilities

Positive test num. 1 - tf file
resource "nifcloud_load_balancer" "positive" {
  load_balancer_name = "example"
  instance_port      = 80
  load_balancer_port = 80
}

Code samples without security vulnerabilities

Negative test num. 1 - tf file
resource "nifcloud_load_balancer" "negative" {
  load_balancer_name = "example"
  instance_port      = 443
  load_balancer_port = 443
}