-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
This ticket introduces a new audit event that is logged whenever a mongod or mongos starts up. Therefore, the "Audit Event Actions, Details, and Results" table on the "System Event Audit Messages" docs page must be updated with a new entry for atype "startup". The param for this event is just one field called "options", which wraps a subdocument with all of the options the mongod or mongos was started with. The sole result value for a "startup" audit event is 0 - success.
Description of Linked Ticket
We should define a new audit event type "startup" and introduce hooks into mongod's and mongos' startup processes which will emit the event. The hook will need to accept a complete copy of the server's configuration, as printed in the server's startup log. This configuration shall be included in the audit event. If the configuration cannot be successfully rendered into BSON, the server shall fail to start.
Scope of changes
Review and update https://docs.mongodb.com/manual/reference/audit-message/
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-53278 Define and emit an audit event on system startup
- Closed