feat(audit): add download button in hermes audit - #2138
Open
LeoZhangZXZ wants to merge 2 commits into
Open
Conversation
LeoZhangZXZ
requested review from
ArtieReus,
andypf,
edda and
hgw77
as code owners
August 21, 2026 07:25
LeoZhangZXZ
marked this pull request as draft
August 21, 2026 07:25
LeoZhangZXZ
marked this pull request as ready for review
August 26, 2026 10:14
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Audit log consumers sometimes need to export event data for offline analysis, compliance reporting, or sharing with other teams. Previously there was no way to download the currently filtered audit events — users had to rely on the API directly or manually copy data from the UI.
What Changed
downloadEventsRedux action that calls/events/downloadwith the current filters (search term, time range, active attribute filters) and triggers a browser file download of the result asaudit-events.jsonUsage
Apply filters and/or a time range as usual in the audit UI, then click Download all (N) in the toolbar. The browser will download
audit-events.jsoncontaining all matching events. The button is disabled while a fetch or download is already in progress.