[SERVER-70661] Redact literal values in find and agg queries Created: 18/Oct/22  Updated: 27/Oct/23  Resolved: 25/Oct/22

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

Type: Task Priority: Major - P3
Reporter: Joshua Lapacik (Inactive) Assignee: Jennifer Peshansky (Inactive)
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-24521 Implement redact methods for log reda... Closed
Participants:

 Description   

Will need to walk DocumentSource and MatchExpression trees, replacing literals with placeholder values.



 Comments   
Comment by Jennifer Peshansky (Inactive) [ 25/Oct/22 ]

After some discussion, we decided it would be preferable to redact directly from BSON objects rather than walking trees. We then discovered this functionality exists already, implemented as BSONObj::redact and tested here. I believe this is sufficient for our current needs. Closing this ticket as "gone away" and linking to the original redaction ticket unless we decide we need something more.

Generated at Thu Feb 08 06:16:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.