Interface AuditLogService

All Superinterfaces:
Service

public interface AuditLogService extends Service
Defines the audit log service API.
  • Field Details

  • Method Details

    • logDataAccess

      void logDataAccess(List<Access> accesses)
      Writes accesses to sensitive personal data to the audit log.
      Parameters:
      accesses - a list with data accesses to be logged
    • logDataAccess

      default void logDataAccess(Access access)
      Writes a single access to sensitive personal data to the audit log.
      Parameters:
      access - a single data accesses to be logged
    • logDataModification

      void logDataModification(List<DataModification> modifications)
      Writes modifications to personal data to the audit log.
      Parameters:
      modifications - a list with all modifications to personal data to be logged
    • logDataModification

      default void logDataModification(DataModification modification)
      Writes a single modification to personal data to the audit log.
      Parameters:
      modification - a single modification to personal data to be logged
    • logConfigChange

      void logConfigChange(Action action, List<ConfigChange> changes)
      Writes multiple configuration changes to the audit log.
      Parameters:
      action - the performed action
      changes - a list with configuration changes
    • logConfigChange

      default void logConfigChange(Action action, ConfigChange change)
      Writes a single configuration change to the audit log.
      Parameters:
      action - the performed action
      change - a single configuration change
    • logSecurityEvent

      void logSecurityEvent(String action, String data)
      Writes a security event in the audit log.
      Parameters:
      action - the action of the security event
      data - the data of the security event