Tamás Hanicz created KNOX-3580:
----------------------------------

             Summary:  Add log4j2 appender to POST audit events as JSON to an 
HTTP endpoint
                 Key: KNOX-3580
                 URL: https://issues.apache.org/jira/browse/KNOX-3580
             Project: Apache Knox
          Issue Type: Task
          Components: Server
    Affects Versions: 3.0.0
            Reporter: Tamás Hanicz
            Assignee: Tamás Hanicz


Add an AuditGateway log4j2 appender that sends each Knox audit record as a JSON 
event to an HTTP endpoint. It is enabled only when the AUDIT_GATEWAY env var is 
set; otherwise it does nothing.

- Maps Knox action and outcome to a category/verb/outcome event, including 
actor (act), target resource and correlation id.
- Sends asynchronously from a bounded queue, with retries and a circuit breaker.
- Drains queued events on shutdown.
- gateway-audit.log is unchanged.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to