summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index 226d76c331d..9b3dd2aa02d 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -208,6 +208,15 @@ namespace audit {
const StringData& ns,
const BSONObj& keyPattern,
bool unique) MONGO_AUDIT_STUB
+
+ void appendImpersonatedUsers(BSONObjBuilder* cmd) MONGO_AUDIT_STUB
+
+ void parseAndRemoveImpersonatedUserField(BSONObj cmdObj,
+ AuthorizationSession* authSession,
+ std::vector<UserName>* parsedUserNames,
+ bool* fieldIsPresent)
+ MONGO_AUDIT_STUB
+
} // namespace audit
} // namespace mongo