Literal and field name redaction for find command (SERVER-73149)

[SERVER-74217] Literal abstraction and field name redaction for find command arguments Created: 21/Feb/23  Updated: 29/Oct/23  Resolved: 01/Mar/23

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

Type: Sub-task Priority: Major - P3
Reporter: Joshua Lapacik (Inactive) Assignee: Ted Tuckman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-75343 Fix field name redaction Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-02-06, QO 2023-02-20, QO 2023-03-06, QO 2023-03-20, QO 2023-04-03
Participants:

 Description   

The following arguments to find should have literal values abstracted.

filter: <document>,
projection: <document>,
skip: <int>,
limit: <int>,
batchSize: <int>,
maxTimeMS: <int>,
max: <document>,
min: <document>,
noCursorTimeout: <bool>,
let: <document> 

The following arguments to find should have field names redacted.

find: <string>
filter: <document>
sort: <document>
projection: <document>
hint: <document or string>,
max: <document>,
min: <document>,
let: <document>

All other arguments should be preserved.



 Comments   
Comment by Githook User [ 01/Mar/23 ]

Author:

{'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}

Message: SERVER-74217 Add redaction function for find command request
Branch: master
https://github.com/mongodb/mongo/commit/d421e53d9d9ebdd8a43032c8bb7ddb0c4b19c8b9

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