TMAegis
Thêm quy tắc cho tdsql

TMA-TDSQL-2.7

Ensure Sensitive Configuration Data Is Encrypted

CaoCấp 1Xem xét thủ côngtdsql

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
tdsqlcredentials
Tham chiếu
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.7 Ensure Sensitive Configuration Data Is Encrypted