-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redpanda: Audit all admin api requests
- Immediately after logging an incoming request, the request will be audited. - If auditing is not enabled, or it is and the event type ::management is not configured then the call to enqueue_audit_event just returns true, otherwise the event is enqueued to be later pushed. - If the event is to be enqueued but cannot because the queue is full, the admin API will return a 5xx error code to the client. - In the event authorization is enabled and the client fails to authorize, a log to indicate this will now be printed. - Futhermore the event will be added to the auditing system if auditing is enabled and the ::management event type had been configured. - If the above is true and the auditing event queue is full, then an warning message is logged.
- Loading branch information
1 parent
47f3ecc
commit f7fe6af
Showing
2 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters