TMAegisBeta
更多 tdsql 規則

TDSQL

TMA-TDSQL-7.5

Ensure Credentials Are Stored Encrypted

高等級 1人工審核tdsql

說明

Database passwords, API keys, and other credentials in TDSQL component configuration files should be stored encrypted and must not appear in cleartext.

檢查方式

稽核方法: 人工審核

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

Inspect scheduler.xml (oc_tool password, audit_database password, super_user pwd, manager_db password, whitelist user_password tokens) and oss.json system-account *_pwd_encrypt fields. Every password/token must be in encrypted form (long base64/ciphertext); any short readable or cleartext value is a finding.

修補方式

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

1. TDSQL provides an AES encryption tool that encrypts all passwords with the cluster master key: Passwords are stored in encrypted form in ZooKeeper. Password fields in configuration files should be filled in after processing with the encryption tool. 2. The cluster master key should be generated independently for each cluster via the deployment-side key injection process and provided at runtime via an environment variable or KMS;

屬性

作業系統
不限
標籤
tdsqlcredentials
參考資料
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 7.5 Ensure Credentials Are Stored Encrypted