Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73325 Literal and field name redaction for aggregation expressions
  3. SERVER-73324

Literal and field name redaction for ExpressionFieldPath and ExpressionConstant

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.0.0-rc0
    • None
    • None
    • Fully Compatible
    • QO 2023-02-06, QO 2023-02-20, QO 2023-03-06, QO 2023-03-20, QO 2023-04-03

    Description

      As part of generating the telemetry key for an aggregation pipeline, we need to extend the serialization logic for all the aggregation expression types to support literal value redaction as well as field name redaction.

      For most aggregation operators, we'll want to replace literal values with a generic placeholder. This will require updating the serialization method of ExpressionConstant.

      We will also need to hash all user supplied field names, paths, and variables. This will require updating the serialization method of ExpressionFieldPath. Note that we will want to preserve MQL system variable references.

      Attachments

        Issue Links

          Activity

            People

              ted.tuckman@mongodb.com Ted Tuckman
              joshua.lapacik@mongodb.com Joshua Lapacik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: