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

Create AuditClientAttrs Client decoration

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0, v7.0
    • Security 2024-12-23, Security 2025-01-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Create a Client decoration called AuditClientAttrs that will store a remote IP address/port, the local IP address/port, and a vector of intermediate address/ports.

      Implement AuditClientObserver::onCreateClient to create an instance of AuditClientAttrs and attach it to the newly-created client soon after its construction. The IP addresses and ports will be lifted from the Client's transport session; this may not exist if the thread is not directly running on behalf of an external client connection. AuditClientAttrs may be overridden later in the Client's lifecycle - this is simply the initial set of values that it should hold.

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: