Ensure Tencent Cloud CLB has a logging ID and topic
Description
This policy checks whether a Tencent Cloud CLB instance has a logging ID and topic configured. Logging is essential for monitoring and auditing purposes, allowing for the detection of security incidents and compliance issues. Without proper logging, it can be challenging to investigate security breaches or performance problems. Configuring a logging ID and topic ensures that logs are properly collected and stored, enabling better security and operational management.
Code Example
terraform
resource "tencentcloud_clb_instance" "example" {
log_set_id = "your_log_set_id"
log_topic_id = "your_log_topic_id"
}Remediation
Configure a logging ID and topic for the Tencent Cloud CLB instance.
Rule Details
| Field | Value |
|---|---|
| ID | IAC-1328 |
| Severity | MEDIUM |
| IaC Type | Terraform |
| Frameworks | tencentcloud_clb_instance |
| Checkov ID | CKV_TC_11 |