[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: |
| Comment by Shreyas Kalyan [ 31/Mar/22 ] |