[SERVER-64294] Enhance redact to always redact BinData 6 Created: 07/Mar/22  Updated: 29/Oct/23  Resolved: 04/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2022-03-21, Security 2022-04-04, Security 2022-04-18
Participants:

 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.



 Comments   
Comment by Githook User [ 02/Apr/22 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan'}

Message: SERVER-64294 Enhance redact to always redact BinData 6
Branch: master
https://github.com/mongodb/mongo/commit/26ea3d0d44d791ada367b2c2525ba6ac592ecdcf

Comment by Shreyas Kalyan [ 31/Mar/22 ]

https://github.com/10gen/mongo/pull/4287

Generated at Thu Feb 08 05:59:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.