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