SV-96617r1_rule
V-81903
SRG-APP-000356-DB-000314
MD3X-00-000600
CAT II
10
Install a centralized syslog collecting tool and configured it as instructed in its documentation.
To enable auditing and print audit events to the syslog in JSON format, specify the syslog for the --auditDestination setting:
mongod --dbpath data/db --auditDestination syslog
Alternatively, these options can also be specified in the configuration file:
storage:
dbPath: data/db
auditLog:
destination: syslog
MongoDB can be configured to write audit events to the syslog in Linux, but this is not available in Windows. Audit events can also be written to a file in either JSON on BSON format. Through the use of third-party tools or via syslog directly, audit records can be pushed to a centralized log management system.
If a centralized tool for log management is not installed and configured to collect audit logs or syslogs, this is a finding.
V-81903
False
MD3X-00-000600
MongoDB can be configured to write audit events to the syslog in Linux, but this is not available in Windows. Audit events can also be written to a file in either JSON on BSON format. Through the use of third-party tools or via syslog directly, audit records can be pushed to a centralized log management system.
If a centralized tool for log management is not installed and configured to collect audit logs or syslogs, this is a finding.
M
3265