-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Doctrine
-
None
Even if a class is configured using the #[Encrypt] attribute and the application as autoEncryption configuration, the collections car remain unencrypted because they have been created automatically by inserting data.
In the doctrine:mongodb:encryption:diagnostic, list over all the classes that have encryption and check if encryption metadata has been setup. Also compare the encrypted fields map of the collection with the configuration.
Return an error status if anything is not correct.