SV-279340r1179187_rule
V-279340
SRG-APP-000133-DB-000199
MD8X-00-002600
CAT II
10
The official installation packages from MongoDB segregate MongoDB executable software from MongoDB data directories by default.
For any non-MongoDB application found, reinstall that application to use directories that are not under the MongoDB created directories.
For any non-MongoDB application that stores data under the MongoDB-created directories, reinstall the application and configure the application to use non-MongoDB-created directories to store its data.
For any non-MongoDB data found under the MongoDB-created directories that cannot be associated with a MongoDB application, either move or delete that data from the MongoDB-created directories.
By default MongoDB, runs using "mongod" user account (both user and group) and uses the following default directories:
MongoDB created directories (default):
/var/lib/mongo (the data directory)
+-- diagnostic.data
+-- _tmp
+-- journal
/var/log/mongodb (the mongod process log directory)
+-- audit (the auditLog directory)
Standard directories:
/bin (the executable directory)
/etc (the configuration file directory)
Check if any non-MongoDB application, non-MongoDB data, or non-MongoDB directories exists under any of the MongoDB-created directories or subdirectories.
If any non-MongoDB application, non-MongoDB data, or non-MongoDB directories exists under the MongoDB-created directories, this is a finding.
V-279340
False
MD8X-00-002600
By default MongoDB, runs using "mongod" user account (both user and group) and uses the following default directories:
MongoDB created directories (default):
/var/lib/mongo (the data directory)
+-- diagnostic.data
+-- _tmp
+-- journal
/var/log/mongodb (the mongod process log directory)
+-- audit (the auditLog directory)
Standard directories:
/bin (the executable directory)
/etc (the configuration file directory)
Check if any non-MongoDB application, non-MongoDB data, or non-MongoDB directories exists under any of the MongoDB-created directories or subdirectories.
If any non-MongoDB application, non-MongoDB data, or non-MongoDB directories exists under the MongoDB-created directories, this is a finding.
M
5728