Interface AuditRouter

All Known Implementing Classes:
AuditComponent

public interface AuditRouter
Since:
2025.16
  • Method Details

    • computeLogEntries

      List<LogEntry> computeLogEntries(Event event)
      Computes the log entries from the given event based on contributed audit routes.
      Parameters:
      event - the event to compute log entries from
      Returns:
      the log entries to route, it could be an empty list if the event doesn't match any route
    • routeToBackends

      void routeToBackends(List<LogEntry> logEntries)
      Routes the given log entries to the appropriate backends based on contributed live audit routes.
      Parameters:
      logEntries - the log entries to route
    • routeToBackends

      void routeToBackends(List<LogEntry> logEntries, List<Route> routes)
      Routes the given log entries to the appropriate backends based on given audit routes.

      Each given route will be evaluated and log entry routed if it matches.

      Parameters:
      logEntries - the log entries to route
      routes - the routes to evaluate on log entries
    • getIntrospection

      AuditRouterIntrospection getIntrospection()
      Returns the audit router introspection to get information about the registered routes and backends.
      Returns:
      the audit router introspection