mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 16:07:43 +00:00
feat: record client IP and user agent on audit entries (#12673)
* feat: record client IP and user agent on audit entries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: trust the compose network's proxy for the audit client IP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: treat undecodable forwarded-for entries as a stop in the client IP walk Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep the legacy audit view in step with the new audit columns Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: add the audit origin columns to audit_partitioned only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * revert: keep the legacy audit table and view in step with the new columns Older servers read the legacy audit table in a SELECT * UNION ALL with audit_partitioned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: update ee-repo-ref to 8604f6779f08ff2208e85628503877edce8e2343 This commit updates the EE repository reference after PR #1009 was merged in windmill-ee-private. Previous ee-repo-ref: 8c44649a51062cf4f056792c0e2da09b7b7354b5 New ee-repo-ref: 8604f6779f08ff2208e85628503877edce8e2343 Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
windmill-internal-app[bot]
parent
9a7ab54746
commit
c689d74505
@@ -34449,6 +34449,12 @@ components:
|
||||
type: object
|
||||
span:
|
||||
type: string
|
||||
client_ip:
|
||||
type: string
|
||||
description: Address of the client that made the request. Forwarding headers are believed only from the proxies listed in the TRUSTED_PROXIES environment variable (loopback by default, plus the private ranges on Windmill Cloud), so behind a reverse proxy this is the proxy's address until it is listed. Absent on entries no request stands behind.
|
||||
user_agent:
|
||||
type: string
|
||||
description: User-Agent header of the request.
|
||||
required:
|
||||
- workspace_id
|
||||
- id
|
||||
|
||||
Reference in New Issue
Block a user