CRITICAL
Source
Trivy
ID
AVD-NIF-0021

Use of plain HTTP.

Plain HTTP is unencrypted and human-readable. This means that if a malicious actor was to eavesdrop on your connection, they would be able to see all of your data flowing back and forth.

You should use HTTPS, which is HTTP over an encrypted (TLS) connection, meaning eavesdroppers cannot read your traffic.

Impact

Your traffic is not protected

Follow the appropriate remediation steps below to resolve the issue.

Switch to HTTPS to benefit from TLS security features

1
2
3
4
 resource "nifcloud_elb" "good_example" {
     protocol = "HTTPS"
 }
 
1
2
3
4
resource "nifcloud_load_balancer" "good_example" {
    load_balancer_port = 443
}