TMAegis
Thêm quy tắc cho tdsql

TMA-TDSQL-7.5

Ensure Credentials Are Stored Encrypted

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

Mô tả

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

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.

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.

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

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;

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 - 7.5 Ensure Credentials Are Stored Encrypted