[SERVER-66482] Port Runtime Audit Configuration into a cluster server parameter Created: 16/May/22  Updated: 29/Oct/23  Resolved: 27/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Varun Ravichandran Assignee: Gabriel Marks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-12-12, Security 2022-12-26, Security 2023-01-09, Security 2023-01-23, Security 2023-02-06, Security 2023-02-20, Security 2023-03-06
Participants:
Linked BF Score: 162

 Description   

Runtime audit configuration is currently implemented as 2 commands - setAuditConfig and getAuditConfig - that allow for setting and retrieving audit filters cluster-wide. Now that setClusterParameter and getClusterParameter provide a generalized way of doing this for any cluster server parameter, audit filters can be re-implemented as cluster server parameters that are retrieved and set via these commands instead.

For the sake of backwards compatibility, setAuditConfig and getAuditConfig will continue to work from a client's perspective and will effectively turn into aliases for the corresponding invocations of setClusterParameter and getClusterParameter



 Comments   
Comment by Githook User [ 21/Feb/23 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-66482 Port Runtime Audit Configuration into a cluster server parameter
Branch: master
https://github.com/mongodb/mongo/commit/71fd140802d739a7cd14dc8367fe3212201422ef

Comment by Githook User [ 21/Feb/23 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: Revert "SERVER-66482 Port Runtime Audit Configuration into a cluster server parameter"

This reverts commit eca135fd7dc1b8a1da3248ac553bf03128553ea5.
Branch: master
https://github.com/mongodb/mongo/commit/8fe8ae436514e4e490e8571219b71339333f3ceb

Comment by Githook User [ 18/Feb/23 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-66482 Port Runtime Audit Configuration into a cluster server parameter
Branch: master
https://github.com/mongodb/mongo/commit/eca135fd7dc1b8a1da3248ac553bf03128553ea5

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