TMAegis
mongodb 관련 규칙 더 보기

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

조치 방법

조치 방식: 가이드 또는 인프라 패치

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