TMAegis
mongodb 관련 규칙 더 보기

TMA-MONGO-REDACT-CLIENT-LOG

Ensure client data is redacted from logs

낮음레벨 2자동mongodb

설명

security.redactClientLogData: true keeps document contents out of diagnostic logs (MongoDB Enterprise). Checks the YAML config file /etc/mongod.conf (SKIP when it does not exist).

점검 방법

감사 방식: 파일 패턴

파일
/etc/mongod.conf
패턴
(?m)^[ \t]*redactClientLogData:[ \t]*true\b

조치 방법

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

Set security.redactClientLogData: true in /etc/mongod.conf and restart mongod

속성

운영 체제
모두
태그
mongodbdatabaseloggingprivacy
참고 자료
CIS MongoDB Benchmark - Data Encryption / Log Redaction (verify section number for your release)

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target mongodb --level 2