TMA-TDSQL-6.7
Ensure a Reasonable Log Retention Policy
説明
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.
修正方法
修正方法: ガイダンスまたは IaC パッチ
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