summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2021-02-28 23:33:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-23 14:03:27 +0000
commitc1bfa707cdfbaeec7c6b05aaac787bfb354665ba (patch)
treecee71666ec52250d8cec471a23218aaa563d136d /src/mongo/db/audit.cpp
parentbdf7ee008434d010d4fbb95390b22ff2d2271b37 (diff)
downloadmongo-c1bfa707cdfbaeec7c6b05aaac787bfb354665ba.tar.gz
SERVER-54972 Add ActionTypes, ErrorCodes, and OpObserver hook for Runtime Audit Config
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index 512e8692e69..18b55d59a3e 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -31,6 +31,8 @@
namespace mongo {
namespace audit {
+std::function<void(OperationContext*)> initializeManager;
+std::function<void(OpObserverRegistry*)> opObserverRegistrar;
#if !MONGO_ENTERPRISE_AUDIT