[
https://issues.apache.org/jira/browse/KNOX-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146399#comment-18146399
]
ASF subversion and git services commented on KNOX-3580:
-------------------------------------------------------
Commit 89fc62da98c3bde10ecf6db382e5dac9ab1820e2 in knox's branch
refs/heads/master from hanicz
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=89fc62da9 ]
KNOX-3580: Add log4j2 appender that POSTs audit events as JSON (#1518)
> 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
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)