Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5394

Audit pages refer to param.db; should be param.ns

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • None

    Description

      https://github.com/mongodb/docs/blob/master/source/tutorial/configure-auditing.txt

      This document refers to a param.db field for audit event filtering, I believe it should be param.ns

      Example audit log entry:

      { "atype" : "dropDatabase", "ts" : { "$date" : "2015-05-07T15:41:01.724-0400" }, "local" : { "ip" : "127.0.0.1", "port" : 27017 }, "remote" : { "ip" : "127.0.0.1", "port" : 54703 }, "users" : [ { "user" : "two", "db" : "admin" } ], "roles" : [ { "role" : "root", "db" : "admin" } ], "param" : { "ns" : "test2" }, "result" : 0 }
      

      In this case, the field to filter would be "param" : { "ns" : "test2" }.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            amalia.hawkins@10gen.com Amalia Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 40 weeks, 6 days ago