SV-96619r1_rule
V-81905
SRG-APP-000357-DB-000316
MD3X-00-000620
CAT II
10
View the mongodb configuration file (default location: /etc/mongod.conf) and view the "auditlog.path" to identify the storage volume.
Allocate sufficient space to the storage volume hosting the file identified in the MongoDB configuration "auditLog.path" to support audit file peak demand.
Investigate whether there have been any incidents where MongoDB ran out of audit log space since the last time the space was allocated or other corrective measures were taken.
If there have been incidents where MongoDB ran out of audit log space, this is a finding.
A MongoDB audit log that is configured to be stored in a file is identified in the MongoDB configuration file (default: /etc/mongod.conf) under the "auditLog:" key and subkey "destination:" where "destination" is "file".
If this is the case then the "AuditLog:" subkey "path:" determines where (device/directory) that file will be located.
View the mongodb configuration file (default location: /etc/mongod.conf) and identify how the "auditlog.destination" is configured.
When the "auditlog.destination" is "file", this is a finding.
V-81905
False
MD3X-00-000620
Investigate whether there have been any incidents where MongoDB ran out of audit log space since the last time the space was allocated or other corrective measures were taken.
If there have been incidents where MongoDB ran out of audit log space, this is a finding.
A MongoDB audit log that is configured to be stored in a file is identified in the MongoDB configuration file (default: /etc/mongod.conf) under the "auditLog:" key and subkey "destination:" where "destination" is "file".
If this is the case then the "AuditLog:" subkey "path:" determines where (device/directory) that file will be located.
View the mongodb configuration file (default location: /etc/mongod.conf) and identify how the "auditlog.destination" is configured.
When the "auditlog.destination" is "file", this is a finding.
M
3265