Skip to content

[v13] Fix incorrect audit log IP when using Kubernetes impersonation#36345

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

[v13] Fix incorrect audit log IP when using Kubernetes impersonation#36345
tigrato merged 1 commit intobranch/v13from
bot/backport-36322-branch/v13

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Jan 5, 2024

Backport #36322 to branch/v13

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/v13 with commit 0d3211d Jan 5, 2024
@tigrato tigrato deleted the bot/backport-36322-branch/v13 branch January 5, 2024 19:08
@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