Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23855

Audit backends used as storages should actually be instanciated as backends

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10
    • Component/s: Audit

      Description

      In order to be able to migrate log entries from Elasticsearch to MongoDB, we need to be able to instanciate multiple audit backends. The current issue is that ESAuditBackend is also the default ES audit storage, and we can only declare one audit backend.
      A solution would be to check the audit storage classes when NXAuditEventsService starts, and if it is actually an audit backend, instanciate it as such (an audit backend registry would probably be necessary).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h