SV-279354r1179510_rule
V-279354
SRG-APP-000179-DB-000114
MD8X-00-004200
CAT I
10
Enable FIPS mode for MongoDB Enterprise.
Edit the MongoDB database configuration file (default location /etc/mongod.conf) to contain the following parameter setting:
net:
tls:
FIPSMode: true
Restart the MongoDB service from the OS.
$ sudo systemctl restart mongod
For the operating system finding, refer to the appropriate operating system documentation for the procedure to install, configure, and test FIPS mode.
Verify that FIPSMode: true is configured in the mongod.conf file (default location /etc/mongod.conf) as shown below:
net:
tls:
FIPSMode: true
If net.tls.FIPSMode is not present or not configured as shown above in the MongoDB configuration file, this is a finding.
Alternatively, run the following command from the MongoDB shell:
> db.getSiblingDB("admin").runCommand({getCmdLineOpts: 1}).parsed.net.tls.FIPSMode
If the server is running with FIPS mode, this command will return "true". Any other output or no output is a finding.
Verify FIPS has been enabled at the OS level. Refer to the OS-specific documentation on how to verify.
V-279354
False
MD8X-00-004200
Verify that FIPSMode: true is configured in the mongod.conf file (default location /etc/mongod.conf) as shown below:
net:
tls:
FIPSMode: true
If net.tls.FIPSMode is not present or not configured as shown above in the MongoDB configuration file, this is a finding.
Alternatively, run the following command from the MongoDB shell:
> db.getSiblingDB("admin").runCommand({getCmdLineOpts: 1}).parsed.net.tls.FIPSMode
If the server is running with FIPS mode, this command will return "true". Any other output or no output is a finding.
Verify FIPS has been enabled at the OS level. Refer to the OS-specific documentation on how to verify.
M
5728