TMAegisBeta
更多 tdsql 規則

TDSQL

TMA-TDSQL-6.7

Ensure a Reasonable Log Retention Policy

中等級 1人工審核tdsql

說明

Each TDSQL component has a log cleanup mechanism; ensure log retention meets security audit and compliance requirements.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

Review retention settings: OSS scheduler.xml log_clean.max_save_days (default 30) and log_clean.max_size (100 GB); Manager scheduler.xml clear_log.resv_capacity (20 GB); Gateway proxy.json gateway.log.clean.time (14 days) and gateway.log.clean.size (10 GB). Values must meet the retention requirement (typically at least 90 days, 180+ in finance); shorter retention is a finding.

修補方式

修補方法: 操作指南或基礎設施修補檔

Adjust the retention parameters according to compliance requirements (typically at least 90 days; the finance industry may require 180 days or more). Recommendations: 1. Increase max_save_days to meet compliance requirements. 2. Forward logs to a centralized log platform (SIEM), keeping only recent logs locally. 3. Ensure sufficient disk space to support the retention requirement.

屬性

作業系統
不限
標籤
tdsqllogging
參考資料
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 6.7 Ensure a Reasonable Log Retention Policy