TMA-MONGO-REDACT-CLIENT-LOG
Ensure client data is redacted from logs
NiedrigStufe 2Automatisiertmongodb
Beschreibung
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).
So wird geprüft
Prüfmethode: Dateimuster
- Datei
/etc/mongod.conf- Muster
(?m)^[ \t]*redactClientLogData:[ \t]*true\b
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Set security.redactClientLogData: true in /etc/mongod.conf and restart mongod
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- mongodbdatabaseloggingprivacy
- Referenz
- CIS MongoDB Benchmark - Data Encryption / Log Redaction (verify section number for your release)
Diesen Host prüfen
Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.
shell
tmaegis scan --target mongodb --level 2