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

And Client UUID to {connectionStatus:1} output

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Security

      Client::getUUID() is used in auditing to uniquely identify a single logical connection.  By making it introspectible from an active client, it will facilitate identifying audit log messages from actions taken by a jstest execution.

      const myUUID = conn.adminCommand({connectionStatus: 1}).uuid;
      conn.getDB('admin').auth('user', 'pwd');
      audit.assertEntry({atype: 'authenticate', uuid: myUUID});

      This will reduce the noise caused by false-positives/false-negatives from background cluster activity during tests.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: