Enhance redact to always redact BinData 6

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2022-03-21, Security 2022-04-04, Security 2022-04-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Shreyas Kalyan
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: