Literal and field name redaction for aggregation expressions (SERVER-73325)

[SERVER-73317] Redaction for $function and $accumulator Created: 25/Jan/23  Updated: 29/Oct/23  Resolved: 03/Mar/23

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

Type: Sub-task Priority: Major - P3
Reporter: Joshua Lapacik (Inactive) Assignee: Maddie Zechar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
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   

$function and $accumulator both take arguments of type <code>, both of which can reference field names from arbitrary javascript code. We should replace these arguments with `?` in the telemetry key.



 Comments   
Comment by Githook User [ 03/Mar/23 ]

Author:

{'name': 'Maddie Zechar', 'email': 'mez2113@columbia.edu', 'username': ''}

Message: SERVER-73317 redaction for $function and $accumulator
Branch: master
https://github.com/mongodb/mongo/commit/f7e235fae05b8be78da499cc42e6b4fe11d970ef

Comment by Maddie Zechar [ 16/Feb/23 ]

started a little yesterday, pausing for BF days

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