Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73149

Literal and field name redaction for find command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • QO 2023-02-06, QO 2023-02-20, QO 2023-03-06, QO 2023-03-20, QO 2023-04-03

       

      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.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            joshua.lapacik@mongodb.com Joshua Lapacik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: