summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.h
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.h
parent013f374c9d055cf434102fad2b6bfd83bb7616a9 (diff)
downloadmongo-9a49ee3a03e02597086e577f06a71a0723bc0582.tar.gz
SERVER-29731 command auth auditing should get access to document sequences
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r--src/mongo/db/audit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h
index 9c47c430bb4..c40a1a12955 100644
--- a/src/mongo/db/audit.h
+++ b/src/mongo/db/audit.h
@@ -36,6 +36,7 @@
#include "mongo/base/error_codes.h"
#include "mongo/db/auth/privilege.h"
#include "mongo/db/auth/user.h"
+#include "mongo/util/net/op_msg.h"
namespace mongo {
@@ -69,8 +70,7 @@ void logAuthentication(Client* client,
* Logs the result of a command authorization check.
*/
void logCommandAuthzCheck(Client* client,
- const std::string& dbname,
- const BSONObj& cmdObj,
+ const OpMsgRequest& cmdObj,
CommandInterface* command,
ErrorCodes::Error result);