TMAegis
mongodb için daha fazla kural

TMA-MONGODB-5.3

Ensure that logging captures as much information as possible

DüşükDüzey 2Otomatikmongodb

Açıklama

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.

Nasıl denetlenir

Denetim yöntemi: Dosya deseni

Dosya
/etc/mongod.conf
Desen
(?m)^[ \t]*quiet:[ \t]*['\x22]?true\b

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

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

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
mongodblogging
Referans
CIS MongoDB 8 Benchmark v2.0.0 - 5.3 Ensure that logging captures as much information as possible

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target mongodb --level 2