Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16766

mongod fails to start with no error message with an incorrectly formatted auditFilter parameter

    • Type: Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.5
    • Component/s: Security
    • Labels:
      None
    • Security 9 (09/18/15)

      I have been helping a customer evaluate the auditing capabilities of MongoDB Enterprise. In their config file, they had an auditFilter parameter specified like:

      auditFilter='{atype:{$in:["authCheck"]}, "param.command":{$in:["read"]}}'  
      

      With this line in the config file, MongoDB fails to start and no error message is printed to the log file. Removing the outside '' as shown below resolves the problem, but mongod should print out an error message or something to the log file.

      auditFilter={atype:{$in:["authCheck"]}, "param.command":{$in:["read"]}}
      

      I have attached the complete mongod.conf file I used to recreate the problem.

            Assignee:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Reporter:
            jay.runkel@mongodb.com Jay Runkel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: