summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-06-27 18:14:58 -0400
committerMathias Stearn <mathias@10gen.com>2017-07-13 16:53:13 -0400
commit9a49ee3a03e02597086e577f06a71a0723bc0582 (patch)
tree9a6fc6e6bdae4f56fffb248cfa8ad5d8e7260bb2 /src/mongo/db/audit.cpp
parent013f374c9d055cf434102fad2b6bfd83bb7616a9 (diff)
downloadmongo-9a49ee3a03e02597086e577f06a71a0723bc0582.tar.gz
SERVER-29731 command auth auditing should get access to document sequences
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index 12cfa4e2c5b..5f37c363008 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -44,8 +44,7 @@ void logAuthentication(Client* client,
ErrorCodes::Error result) MONGO_AUDIT_STUB
void logCommandAuthzCheck(Client* client,
- const std::string& dbname,
- const BSONObj& cmdObj,
+ const OpMsgRequest& cmdObj,
CommandInterface* command,
ErrorCodes::Error result) MONGO_AUDIT_STUB