TMAegisBeta
更多 tdsql 规则

TDSQL

TMA-TDSQL-2.8

Ensure the TDSQL Installation Directory Structure Is Well-Organized

低级别 1人工审核tdsql

说明

TDSQL should follow a well-organized directory structure: <tdsql_root>/ ├── bin/ # Executables and scripts ├── conf/ # Configuration files (scheduler.xml, oss.json, etc.) ├── boot/ # Boot modules and SSL certificates ├── data/ # Runtime data ├── log/ # Log files ├── sql/ # Database schema files └── lib/ # Shared libraries

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --include-manual 时,扫描结果会列出该项并附带这些说明。

# Verify the directory structure ls -la /path/to/tdsql/ # Ensure there are no data files in the binary directory find /path/to/tdsql/bin/ -name '*.dat' -o -name '*.ibd' # Ensure there are no executable files in the data directory find /path/to/tdsql/data/ -executable -type f

修复方式

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

Install using the standard TDSQL installation procedure via install.sh, which creates the canonical directory structure.

属性

操作系统
任意
标签
tdsqlhardening
参考
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.8 Ensure the TDSQL Installation Directory Structure Is Well-Organized