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

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

      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.

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

              Created:
              Updated:
              Resolved: