[SERVER-73149] Literal and field name redaction for find command Created: 20/Jan/23  Updated: 29/Oct/23  Resolved: 28/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Joshua Lapacik (Inactive) Assignee: Backlog - Query Integration
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Sub-Tasks:
Key
Summary
Type
Status
Assignee
SERVER-73488 Add redaction to projection AST seria... Sub-task Closed Davis Haupt  
SERVER-73489 Add redaction to sort pattern seriali... Sub-task Closed Maddie Zechar  
SERVER-74217 Literal abstraction and field name re... Sub-task Closed Ted Tuckman  
Assigned Teams:
Query Integration
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   

 

db.runCommand(
   {
      "find": <string>,
      "filter": <document>,
      "sort": <document>,
      "projection": <document>,
      "hint": <document or string>,
      "skip": <int>,
      "limit": <int>,
      "batchSize": <int>,
      "singleBatch": <bool>,
      "comment": <any>,
      "maxTimeMS": <int>,
      "readConcern": <document>,
      "max": <document>,
      "min": <document>,
      "returnKey": <bool>,
      "showRecordId": <bool>,
      "tailable": <bool>,
      "oplogReplay": <bool>,
      "noCursorTimeout": <bool>,
      "awaitData": <bool>,
      "allowPartialResults": <bool>,
      "collation": <document>,
      "allowDiskUse" : <bool>
   }
) 

For details on generating the telemetry key for the find command, including which arguments need literal values abstracted and which ones need them preserved, see the technical design

In addition, arguments with field name or collection references will need them redacted.


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