Package io.vertx.ext.web.handler

## Interface SecurityAuditLoggerHandler

- All Superinterfaces:
    `Handler<RoutingContext>`, `PlatformHandler`

      public interface SecurityAuditLoggerHandler
      extends PlatformHandler

  A handler that logs security audit events. This handler is to be used with the underlying logger `io.vertx.ext.auth.audit`. This handler will ensure that logs are structured and that sensitive data is masked. This information can be used to feed SIEM or EDR/XDR tools to monitor and detect security incidents.
  Author:
    Paulo Lopes

- - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SecurityAuditLoggerHandler` | `create()` | Create a new instance of the handler.

    - ### Methods inherited from interface io.vertx.core.Handler

      `handle`

- - ### Method Detail

    - #### create

          static SecurityAuditLoggerHandler create()

      Create a new instance of the handler. For each request the audit data is collected and will be logged explicitly by `AuthorizationHandler` and `AuthorizationHandler` instances. The handler will also log the final status of the current request. The marker kinds are defined in the enum `Marker`.