-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Security 2022-03-21, Security 2022-04-04, Security 2022-04-18
If `logv2::shouldRedactLogs()` is not true, `BSONObj redact(const BSONObj& objectToRedact)` should redact BinData 6 values.
If `logv2::shouldRedactLogs()` is true, it should behave as it currently does (i.e., it redacts all values).
Add a runtime settable setParameter in community that can be used to disable this behavior.