Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] Enrich audit events with server information #48832

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #48475 to branch/v17

changelog: Ensure that agentless server information is provided in all audit events

Subsystem events did not include ServerMetadata, which results in
any events generated for agentless hosts to contain limited
information. For example, any sftp subsystem requests made in
response to tsh scp for agentless nodes provided information about
the proxy forwarding the requests, but no information about the
target host.

Additionally, the way ServerMetadata information was being populated
by using the ServerContext overrode only a subset of the information
that was available. This lead to SessionData events emitted when
an sftp operation was completed not populating any relevant information
about agentless nodes either. To avoid this going forward, the
GetServerMetadata receiver has been removed from ServerContext and
instead the TargetMetadata must be used from the appropriate SSH
server, which already populates the relevant information without
omitting any.
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log backport size/sm labels Nov 12, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Nov 12, 2024
Merged via the queue into branch/v17 with commit 231208f Nov 12, 2024
44 checks passed
@rosstimothy rosstimothy deleted the bot/backport-48475-branch/v17 branch November 12, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants