Interface AuditService

All Known Implementing Classes:
AuditComponent

public interface AuditService
Since:
2025.0
  • Method Details

    • getAuditableEventNames

      Set<String> getAuditableEventNames()
      Returns:
      the event names to write to the audit
    • getExtendedInfoMappers

      List<ExtendedInfoMapper> getExtendedInfoMappers(String eventName)
      Parameters:
      eventName - the event name to write to the audit
      Returns:
      the extended info mappers to apply when writing to the audit
    • getAuditBackend

      <B extends AuditBackend> B getAuditBackend(String name)
      Returns:
      the AuditBackend with the given name
    • buildEntryFromEvent

      LogEntry buildEntryFromEvent(Event event)
      Returns a log entry representation of an event.
    • await

      boolean await(Duration duration) throws InterruptedException
      Awaits the audit ingestion.
      Throws:
      InterruptedException