summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-05-25 14:19:21 -0400
committerBilly Donahue <billy.donahue@mongodb.com>2018-06-06 11:25:55 -0400
commit0074ca3ac8171243232d4e037f5150ba48d11bc5 (patch)
tree910d12176610d7f461e3084643197b55affd7fcb /src/mongo/db/audit.h
parent937039a3c901191475b316dad821eeedc71e50f5 (diff)
downloadmongo-0074ca3ac8171243232d4e037f5150ba48d11bc5.tar.gz
SERVER-35135 Redact command payload when auditing edge case events
Add missing #include for mongo/bson/util/builder.h
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r--src/mongo/db/audit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h
index 10cbd651944..60619a4b776 100644
--- a/src/mongo/db/audit.h
+++ b/src/mongo/db/audit.h
@@ -62,6 +62,7 @@ public:
virtual ~CommandInterface() = default;
virtual void redactForLogging(mutablebson::Document* cmdObj) const = 0;
virtual NamespaceString ns() const = 0;
+ virtual bool redactArgs() const = 0;
};
/**