TMAegis
Thêm quy tắc cho tdsql

TDSQL

TMA-TDSQL-12.2

Ensure Manager Database Credentials Are Encrypted

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

Mô tả

The credential (tdsqlsys_kp_new) used by the TDSQL Manager to connect to MySQL instances should be stored encrypted.

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 the Manager DB configuration in scheduler.xml: <manager_db user="tdsqlsys_kp_new" password="..." /> Confirm the password field is encrypted (base64-encoded, length >= 24 bytes), not a short readable string. Also verify the value differs from the install template's initial value.

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 the password using the TDSQL encryption tool: # Encrypt with the cluster master key (see section 2.6 for tool details) /path/to/tdsql/bin/crypt_tool -e "<cluster_master_key>" "<plain_password>" # Put the resulting ciphertext into the manager_db.password field of scheduler.xml

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 - 12.2 Ensure Manager Database Credentials Are Encrypted