Skip to content

Ensure Tencent Cloud CLBs use modern, encrypted protocols

Description

This policy checks whether Tencent Cloud CLBs (Cloud Load Balancers) use modern, encrypted protocols. The rule inspects the 'protocol' attribute of the 'tencentcloud_clb_listener' resource to ensure it does not use insecure protocols such as TCP, UDP, or HTTP. Using insecure protocols can expose the load balancer to security risks, including eavesdropping and tampering. It is recommended to use encrypted protocols like HTTPS to protect data in transit.

Code Example

terraform
resource "tencentcloud_clb_listener" "example" {
  protocol = "HTTPS"
}

Remediation

Update the 'protocol' attribute of the 'tencentcloud_clb_listener' resource to use a secure, encrypted protocol like HTTPS.

Rule Details

FieldValue
IDIAC-1329
SeverityMEDIUM
IaC TypeTerraform
Frameworkstencentcloud_clb_listener
Checkov IDCKV_TC_12

References