[SERVER-11625] updateUser does not log "roles" in "param" in bson audit log Created: 07/Nov/13  Updated: 10/Dec/14  Resolved: 19/Nov/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Timothy Olsen (Inactive) Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Steps To Reproduce:

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

Participants:

 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)



 Comments   
Comment by Matt Dannenberg [ 19/Nov/13 ]

it may simply have been a misunderstanding regarding the spec

Generated at Thu Feb 08 03:26:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.