updateUser does not log "roles" in "param" in bson audit log

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Hide

      Run enterprise mongod (@dcd569ac549275cd3b81642325f63001cb33cd64) commit with auditing set to a bson file. Update a user. Look at the bson log

      Show
      Run enterprise mongod (@dcd569ac549275cd3b81642325f63001cb33cd64) commit with auditing set to a bson file. Update a user. Look at the bson log
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When I update a user, I am seeing the following bson (in python dict format):

      {u'remote': {u'ip': u'10.158.93.82', u'port': 35832}, u'users': [{u'db': u'db1', u'user': u'user2'}], u'atype': u'updateUser', u'ts': datetime.datetime(2013, 11, 7, 18, 40, 23, 311000, tzinfo=<bson.tz_util.FixedOffset object at 0x8fce50>), u'param': {u'passwordChanged': True, u'db': u'db1', u'user': u'user2'}, u'result': 0, u'local': {u'ip': u'10.158.93.82', u'port': 27017}}
      

      Notice that the param object does not have a roles field.

      This is with mongo master commit dcd569ac549275cd3b81642325f63001cb33cd64 (enterprise build)

              Assignee:
              Matt Dannenberg (Inactive)
              Reporter:
              Timothy Olsen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: