TMA-TDSQL-2.7
Ensure Sensitive Configuration Data Is Encrypted
Beschreibung
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.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
# 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.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
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.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- tdsqlcredentials
- Referenz
- CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.7 Ensure Sensitive Configuration Data Is Encrypted