mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 06:40:45 +08:00
Stop auditing successful auth.me and auth.sessions polls.
These are UI session checks that flooded the business audit view; keep failures only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
c181158209
commit
ea3d45ddc2
3 changed files with 25 additions and 1 deletions
|
|
@ -745,6 +745,8 @@ def list_audit_logs(
|
|||
"webcrt.delete",
|
||||
"users.get",
|
||||
"api_tokens.get",
|
||||
"auth.me",
|
||||
"auth.sessions",
|
||||
)
|
||||
q = q.filter(~AuditLog.action.like("http.%"))
|
||||
q = q.filter(~AuditLog.action.in_(noise_actions))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue