TMAegis
mongodb のその他のルール

TMA-MONGODB-5.3

Ensure that logging captures as much information as possible

低レベル 2自動mongodb

説明

The SystemLog.quiet option stops logging of information such as: - connection events - authentication events - replication sync activities - evidence of some potentially impactful commands being run (eg: drop, dropIndexes, validate) This information should be logged whenever possible. This check is only for Enterprise editions. Checks the YAML config file /etc/mongod.conf (SKIP when it does not exist). Passes when systemLog.quiet is absent or false.

チェック方法

監査方法: ファイルパターン

ファイル
/etc/mongod.conf
パターン
(?m)^[ \t]*quiet:[ \t]*['\x22]?true\b

修正方法

修正方法: ガイダンスまたは IaC パッチ

Set systemLog.quiet: false (or remove the quiet setting) in /etc/mongod.conf and restart mongod.

プロパティ

オペレーティングシステム
すべて
タグ
mongodblogging
参照
CIS MongoDB 8 Benchmark v2.0.0 - 5.3 Ensure that logging captures as much information as possible

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target mongodb --level 2