We should record when a client logs out. An event of this nature should occur when a client issues the logout command, or implicitly logs out by closing a connection resulting in the destruction of their Client object and associated authorization session.
We'll likely need to introduce a "logout" aType. We should record the users which are being shed. We should record the users being retained.
- is documented by
DOCS-14079 Investigate changes in SERVER-53329: Create audit event for logout
- split from
SERVER-27184 Audit logs for connection opened and closed events