[GH-ISSUE #23461] feat: Allow GET requests audit file #35517

Closed
opened 2026-04-25 09:43:33 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @theck1996 on GitHub (Apr 6, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23461

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

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.

Originally created by @theck1996 on GitHub (Apr 6, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/23461 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### 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.
Author
Owner

@tjbck commented on GitHub (Apr 12, 2026):

Addressed in dev.

<!-- gh-comment-id:4232785121 --> @tjbck commented on GitHub (Apr 12, 2026): Addressed in dev.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#35517