For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Alibaba RDS instance has log_connections disabled misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_ALI_37

Category - Subcategory

Monitoring - Unintegrated

Provider

ALIBABA_CLOUD

Severity

LOW

Framework

Terraform

Impact

This rule ensures that the log_connections parameter is enabled for Alibaba Cloud RDS instances. Enabling this parameter logs connection attempts to the database, providing valuable information for monitoring, troubleshooting, and auditing. These logs can help detect unauthorized access attempts, investigate connection issues, and ensure better database management.

Failing to enable this parameter reduces visibility into connection activity, which may hinder security monitoring and operational diagnostics.

How to Fix

Resource: alicloud_rds_instance

  • Arguments: log_connections

To mitigate this issue, ensure the log_connections parameter is set to on in the RDS instance configuration.

Example: [source,go]

resource "alicloud_rds_instance" "example" { ... parameter {

  • name = "log_connections"

  • value = "on" } }


Last updated

Was this helpful?