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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            tim.olsen Timothy Olsen
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: