Skip to content

[v15] Enrich audit events with server information#48835

Merged
rosstimothy merged 1 commit intobranch/v15from
tross/backport-48475/v15
Nov 13, 2024
Merged

[v15] Enrich audit events with server information#48835
rosstimothy merged 1 commit intobranch/v15from
tross/backport-48475/v15

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #48475 to branch/v15

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 size/sm labels Nov 12, 2024
@aws-amplify-us-west-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-48835.d1v2yqnl3ruxch.amplifyapp.com

@rosstimothy rosstimothy added this pull request to the merge queue Nov 13, 2024
Merged via the queue into branch/v15 with commit 399d7d6 Nov 13, 2024
@rosstimothy rosstimothy deleted the tross/backport-48475/v15 branch November 13, 2024 04:33
@camscale camscale mentioned this pull request Dec 6, 2024
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