[SERVER-74603] Filter out plans with QE operations from $planCacheStats Created: 03/Mar/23 Updated: 17/Mar/23 Resolved: 17/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Backlog - Security Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Server Security
|
||||||||
| Participants: | |||||||||
| Description |
|
Mark cached plans as sensitive if they involve encryptedInformation. Likely we can add a field to PlanCacheEntryBase, serialize if set to true and then filter them out if the flag is set to true. See CommonMongodProcessInterface::getMatchingPlanCacheEntryStats and the filter and lambda functions inside |