TMAegisBeta
更多 tdsql 規則

TDSQL

TMA-TDSQL-2.7

Ensure Sensitive Configuration Data Is Encrypted

高等級 1人工審核tdsql

說明

Sensitive data in configuration files (passwords, keys, connection strings) should be stored in encrypted form. TDSQL provides AES encryption and base64 encoding for credential protection.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

# Check for cleartext passwords in the configuration grep -rn 'password' /path/to/tdsql/conf/ | grep -v '#' | head -20 # Encrypted passwords appear as long base64-encoded strings. # Short, simple cleartext strings indicate unencrypted passwords.

修補方式

修補方法: 操作指南或基礎設施修補檔

Encrypt all passwords using TDSQL's encryption tools. Ensure the master key used for encryption is stored separately from the encrypted data and managed by an independent key management process. Integrating with a KMS is strongly recommended. Encryption process overview: 1.

屬性

作業系統
不限
標籤
tdsqlcredentials
參考資料
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.7 Ensure Sensitive Configuration Data Is Encrypted