Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Security 2022-03-21, Security 2022-04-04, Security 2022-04-18
Description
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.