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

Add interface and command for setting RAC

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Major Change
    • Security 2021-03-22, Security 2021-04-05, Security 2021-04-19, Security 2021-05-03

      1. Add ErrorCodes::RuntimeAuditConfigurationNotEnabled
      2. Raise error if called with auditGlobalParams.runtimeConfiguration === false
      3. Return without change if generation number is <= current generation.
      4. Redeclare AuditManager::auditFilter as an AtomicWord<*shared_ptr<MatchExpression>>
      5. Add AuditManager::configGeneration as an AtomicWord<std::int64_t> (default 0).
      6. Emit 'auditConfigure' event (Define new aType)
      7. Instantiate a new MatchExpression for filter, and swap into AuditManager::auditFilter
      8. Store new values for generation and auditAuthorizationSuccess
      9. Call setAuditConfiguration(0, {}, false); during audit manager global initialization
      10. Add { setAuditConfig: ...}
        1. Guard on ActionType::auditConfigure (resource: cluster), define new ActionType.
        2. auditGlobalParams.runtimeConfiguration must be true
        3. On config server (or non-sharded) primary, commit to storage before swapping in config

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

              Created:
              Updated:
              Resolved: