Skip to content

[v14] Fix incorrect audit log IP when using Kubernetes impersonation#36346

Merged
tigrato merged 1 commit intobranch/v14from
bot/backport-36322-branch/v14
Jan 5, 2024
Merged

[v14] Fix incorrect audit log IP when using Kubernetes impersonation#36346
tigrato merged 1 commit intobranch/v14from
bot/backport-36322-branch/v14

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Jan 5, 2024

Backport #36322 to branch/v14

changelog: Fixed incorrect report of user's IP address in Kubernetes Audit Logs

Audit logs for Kubernetes requests showed incorrect IP addresses when
reverse tunnel was used to forward the request.

Audit logs use 'req.RemoteAddr` which was never updated with the
impersonated IP address.

Changelog: Fixed incorrect report of user's IP address in Kubernetes
Audit Logs

Fixes #36288

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato added this pull request to the merge queue Jan 5, 2024
Merged via the queue into branch/v14 with commit 358776a Jan 5, 2024
@tigrato tigrato deleted the bot/backport-36322-branch/v14 branch January 5, 2024 19:17
@camscale camscale mentioned this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants