diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2021-02-28 23:33:34 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-23 14:03:27 +0000 |
commit | c1bfa707cdfbaeec7c6b05aaac787bfb354665ba (patch) | |
tree | cee71666ec52250d8cec471a23218aaa563d136d /src/mongo/db/audit.cpp | |
parent | bdf7ee008434d010d4fbb95390b22ff2d2271b37 (diff) | |
download | mongo-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.cpp | 2 |
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 |