mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
Merged PR 1548298: Removing PII from user crud error messages
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description ---- #### AI description (iteration 1) #### PR Classification Bug fix to remove Personally Identifiable Information (PII) from user CRUD error messages. #### PR Summary This pull request ensures that PII is not leaked in error messages during user CRUD operations by only logging error hints for specific internal errors. - `PostgresMongoClient.cs`: Added checks to log only error hints for error code "42710" to prevent PII leakage in `CreateUserAsync`, `UpdateUserAsync`, `DropUserAsync`, and `UsersInfoAsync` methods.
This commit is contained in:
1 parent
722ef60784
commit
b7d51c3013
4 files changed
+5
No files matched your search
@@ -342,6 +342,7 @@ MongoError,ErrorName
|
||||
50752,Location50752
|
||||
50759,Location50759
|
||||
50989,Location50989
|
||||
51003,Location51003
|
||||
51024,Location51024
|
||||
51044,Location51044
|
||||
51045,Location51045
|
||||
|
||||
|
Reference in new issue
Block a user