summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.h
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2019-03-07 08:30:27 -0500
committerJames Wahlin <james@mongodb.com>2019-04-11 14:59:55 -0400
commit6b47868e5a82822a21176db3a7d3abd2df429e1f (patch)
treeca2adddd4590b62cdefbc641d97cc58b5cc05479 /src/mongo/db/audit.h
parent95bb948f7e5e573ca1473ba43dd6fd8e53cb5f50 (diff)
downloadmongo-6b47868e5a82822a21176db3a7d3abd2df429e1f.tar.gz
SERVER-40381 Add the ability to specify a pipeline to an update command
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r--src/mongo/db/audit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h
index 9fb28a707bf..d73a9101367 100644
--- a/src/mongo/db/audit.h
+++ b/src/mongo/db/audit.h
@@ -37,6 +37,7 @@
#include "mongo/base/error_codes.h"
#include "mongo/db/auth/privilege.h"
#include "mongo/db/auth/user.h"
+#include "mongo/db/ops/write_ops_parsers.h"
#include "mongo/rpc/op_msg.h"
namespace mongo {
@@ -137,7 +138,7 @@ void logQueryAuthzCheck(Client* client,
void logUpdateAuthzCheck(Client* client,
const NamespaceString& ns,
const BSONObj& query,
- const BSONObj& updateObj,
+ const write_ops::UpdateModification& update,
bool isUpsert,
bool isMulti,
ErrorCodes::Error result);