mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 00:07:30 +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
@@ -62,6 +62,18 @@
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
{#if log.client_ip}
|
||||
<div class="flex flex-col gap-1">
|
||||
<span class="font-semibold text-xs text-emphasis">Client IP</span>
|
||||
<span class="text-xs break-all">{log.client_ip}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{#if log.user_agent}
|
||||
<div class="flex flex-col gap-1">
|
||||
<span class="font-semibold text-xs text-emphasis">User agent</span>
|
||||
<span class="text-xs break-all">{log.user_agent}</span>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="flex flex-col gap-1">
|
||||
<span class="font-semibold text-xs text-emphasis">Parameters</span>
|
||||
<div class="text-xs p-2 bg-surface-secondary rounded-md overflow-x-auto">
|
||||
|
||||
Reference in New Issue
Block a user