Add interface and command for setting RAC

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Sara Golemon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: