Details
Description
It is possible to run mongod specifying --auditPath but not --auditDestination.
This will result in no audit, and should be unallowed to run mongod using these options.
[ec2-user@ip-10-33-128-100 bin]$ ./mongod --auditPath foo.txt --dbpath db
|
Also, the code already does some checks, e.g. it complains if --auditFormat is not specified while --auditDestination is.
[ec2-user@ip-10-33-128-100 bin]$ ./mongod --auditDestination file --dbpath db
|
2014-03-07T01:32:16.431+0000 SEVERE: Failed global initialization: BadValue auditLog.format must be specified when auditLog.destination is to a file
|