Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86706

Move GlobalAuditManager to a unique_ptr

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security

      Currently, the global audit manager is just a plain global object. Global variables are generally a bad idea, but moreover in tests, resetting the global state becomes non-trivial. We should move the GlobalAuditManager to at least be a unique_ptr and potentially find a better house for it.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: