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

Alibaba Cloud Transparent Data Encryption is disabled on instance misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_ALI_22

Category - Subcategory

Storage - Encryption

Provider

ALIBABA_CLOUD

Severity

LOW

Framework

Terraform

Impact

This rule ensures that Transparent Data Encryption (TDE) is enabled on Alibaba Cloud RDS (Relational Database Service) instances. TDE helps protect data at rest by encrypting the storage of an entire database. It ensures that data is secured, meeting compliance requirements for protecting sensitive data.

Failing to enable Transparent Data Encryption can result in data breaches if unauthorized users gain access to the underlying storage of the database.

How to Fix

Resource: alicloud_db_instance

  • Attribute: tde_status

To mitigate this issue, ensure that the tde_status attribute is set to Enabled for the alicloud_db_instance resource. Confirm that the engine is either MySQL or SQLServer and that the engine_version is supported.

Example: [source,go]

resource "alicloud_db_instance" "example" { ...

engine = "MySQL" engine_version = "8.0"

  • tde_status = "Enabled" }


Last updated

Was this helpful?