mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #23461] feat: Allow GET requests audit file #35517
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theck1996 on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23461
Check Existing Issues
Verify Feature Scope
Problem Description
I would like GET requests to be added to the audit log. Currently we skip auditing if request is not a POST, PUT, PATCH, or DELETE.
Desired Solution you'd like
Add an Environment variable to be used in audit.py in _should_skip_auditing function so it will not skip for GET if set to true.
Alternatives Considered
Log GET Requests
Additional Context
Issue where it should always log Auths endpoing. This is not the case as if it is a GET it will return true to skip before hitting that line of code.
@tjbck commented on GitHub (Apr 12, 2026):
Addressed in dev.