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

Literal and field name redaction for find command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • 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

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: