-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
ALL
-
Security 2024-09-16
-
0
When checking `if (entry.id === kAuthenticationFailedLogId)`, we are incorrectly trying to access `attr.error.code` of the entry object. However, the error field is a string, not an object with a code key.
Example of a log entry:
{"attr": \{"error": "AuthenticationAbandoned: Authentication session abandoned, client has likely disconnected"}We should check whether the error contains specific substring such as "AuthenticationAbandoned".
- is related to
-
SERVER-76961 Fix expected attr structure of log in speculative-auth-replset.js
- Closed