TMAegis
tdsql 관련 규칙 더 보기

TMA-TDSQL-12.2

Ensure Manager Database Credentials Are Encrypted

높음레벨 1수동 검토tdsql

설명

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

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --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.

조치 방법

조치 방식: 가이드 또는 인프라 패치

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

속성

운영 체제
모두
태그
tdsqlcredentials
참고 자료
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 12.2 Ensure Manager Database Credentials Are Encrypted