Tencent Cloud VPC flow logging is disabled

Collect the network flow records needed for investigation.

Description

Enable a Tencent Cloud VPC flow log to record connections for its selected target.

Potential impact

A disabled log leaves fewer records for tracing failed connections or unwanted traffic.

Remediation

Set enable = true on tencentcloud_vpc_flow_log_config. Check the target and traffic filter, then verify that a matching connection appears at the CLS destination.

Examples

flow_log_id refers to an existing flow log with its own target and destination. Its records contain traffic metadata, without packet contents.

Before

hcl
resource "tencentcloud_vpc_flow_log_config" "example" {
  flow_log_id = tencentcloud_vpc_flow_log.example.id
  enable      = false
}

After

hcl
resource "tencentcloud_vpc_flow_log_config" "example" {
  flow_log_id = tencentcloud_vpc_flow_log.example.id
  enable      = true
}

References