Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14072

Investigate changes in SERVER-53278: Define and emit an audit event on system startup

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: manual, Server
    • Labels:
      None
    • Last comment by Customer:
      true
    • Story Points:
      1
    • Sprint:
      ServerDocs2020: Jan12 - Jan19, ServerDocs2020: Jan19 - Jan26, ServerDocs2020: Jan26 - Feb2, ServerDocs2020: Feb2 - Feb9, ServerDocs2020: Feb9 - Feb16, ServerDocs2020: Feb16 - Feb23

      Description

      Description

      Downstream Change Summary

      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.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joseph.dougherty Joseph Dougherty
              Reporter:
              backlog-server-pm Backlog - Core Eng Program Management Team
              Participants:
              Last commenter:
              Joseph Dougherty Joseph Dougherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since reply:
                41 weeks, 5 days ago
                Date of 1st Reply: