TMAegisBeta
Thêm quy tắc cho tdsql

TDSQL

TMA-TDSQL-5.3

Ensure System Account Privileges Are Minimized

Trung bìnhCấp 1Xem xét thủ côngtdsql

Mô tả

TDSQL includes several built-in system accounts for different purposes. Each account should hold only the minimum privileges necessary for its function.

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.

Run SHOW GRANTS FOR 'tdsqlsys_check'@'%'; SHOW GRANTS FOR 'tdsqlsys_agent'@'%'; SHOW GRANTS FOR 'tdsqlsys_repl'@'%'; (and the other tdsqlsys_* accounts) and compare each with the minimum privileges required for its function per the benchmark table (e.g. tdsqlsys_repl only REPLICATION SLAVE, REPLICATION CLIENT). Any extra privilege 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

Adjust system account privileges through the TDSQL Manager to ensure each account holds only the necessary privileges. Note: Modifying system account privileges may affect normal operation of TDSQL components; test thoroughly before making changes.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
tdsqlprivileges
Tham chiếu
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 5.3 Ensure System Account Privileges Are Minimized