TMAegis
Thêm quy tắc cho tdsql

TDSQL

TMA-TDSQL-2.8

Ensure the TDSQL Installation Directory Structure Is Well-Organized

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

Mô tả

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

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.

# 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

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

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
tdsqlhardening
Tham chiếu
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.8 Ensure the TDSQL Installation Directory Structure Is Well-Organized