mongod audit log attributes DDL operations to the __system user in a sharded environment

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.8.0, 4.2.10, 4.4.2
    • Affects Version/s: 4.0.20, 3.6.19
    • Component/s: None
    • None
    • Minor Change
    • ALL
    • v4.4, v4.2, v4.0, v3.6
    • Security 2020-09-21
    • 50
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Seemingly related to SERVER-11192, the __system user is audited as the initiator of DDL operations like createDatabase, dropDatabase, createCollection, dropCollection, createIndex, and dropIndex when those commands are run from a mongos in a sharded environment.

      CRUD operations are correctly attributed.

      A partial workaround is to use auditAuthorizationSuccess and an auditFilter focusing on DDL operations, on mongos nodes, to obtain authCheck audits from the mongos. But this is not applicable in all cases (ex: implicit collection creation)

              Assignee:
              Sara Golemon (Inactive)
              Reporter:
              Eric Sedor
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: