[SERVER-55363] Use new tryLogEvent to reduce boilerplate in audit hooks Created: 19/Mar/21  Updated: 29/Oct/23  Resolved: 24/Mar/21

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

Type: Improvement Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-24912 Include Client Metadata in audit logs Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-04-05
Participants:

 Description   

SERVER-24912 introduced a new tryLogEvent() function that reduces boilerplate in audit hooks. We should use it where we can in hooks unrelated to SERVER-24912.



 Comments   
Comment by Githook User [ 24/Mar/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-55363 Use new tryLogEvent to reduce boilerplate in audit hooks
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/8060ffafe167e072e20512cfa2469c9c686eddc3

Generated at Thu Feb 08 05:36:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.