TMAegisBeta
更多 tdsql 规则

TDSQL

TMA-TDSQL-5.3

Ensure System Account Privileges Are Minimized

中级别 1人工审核tdsql

说明

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

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --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.

修复方式

修复方法: 操作指南或基础设施补丁

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.

属性

操作系统
任意
标签
tdsqlprivileges
参考
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 5.3 Ensure System Account Privileges Are Minimized