[SERVER-72809] Add FLE test coverage for NTDI Created: 12/Jan/23  Updated: 29/Oct/23  Resolved: 03/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-68423 Remove CommandHelpers::parseNsFromCom... Closed
is related to SERVER-73525 Add extra FLE test coverage for NTDI Closed
is related to SERVER-73530 TransactionClient API to use Database... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-01-23, Server Serverless 2023-02-06
Participants:

 Description   

We should be adding a jstest that will make sure of field level encryption and the use of tenancy awareness by passing a `$tenant` to the queries.

The current FLE2 jstests used in enterprise can be use as a foundation to make encrypted queries to a mongod.

The cpp client code used to create an encrypted client is only used for testing purposed and doesn't need to be tenant aware.

A mongoshell (client) doesn't understand nor know the concept of `$tenant` therefor, for the purpose of testing, we need to make sure that the FLE logic is properly executed on the mongod regardless of that constraint.

We do not need to test specifically the encryption itself but make sure that the encryption is being executed for a specific tenant and not for others.



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

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-72809 Add FLE test coverage for NTDI
Branch: master
https://github.com/mongodb/mongo/commit/0c1221e2576ddc3eec5ec17085821b364bd5a43c

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