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

ConvertAuditEvent: Set SessionStartEvent.App.IsMultiPort #50008

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

ravicious
Copy link
Member

@ravicious ravicious commented Dec 10, 2024

This PR makes it so that when a telemetry event is generated based on the audit event related to an app session, we set IsMultiPort depending on whether TargetPort is present or not. See the Product Usage section of RFD 182.

TargetPort is present only when a connection to a TCP app was made using a cert for a multi-port app. That is currently done only when connecting through VNet, but in the future it'll be possible to run tsh proxy app foo-bar --port 1337:<target port>.

AppTargetPort: uint32(identity.RouteToApp.TargetPort),

@ravicious ravicious added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v17 labels Dec 10, 2024

This comment was marked as off-topic.

@ravicious ravicious force-pushed the r7s/multi-port-telemetry branch from 74a7c3a to 75c814c Compare December 13, 2024 10:07
@ravicious ravicious enabled auto-merge December 13, 2024 10:09
@ravicious ravicious added this pull request to the merge queue Dec 13, 2024
Merged via the queue into master with commit 9efb736 Dec 13, 2024
46 checks passed
@ravicious ravicious deleted the r7s/multi-port-telemetry branch December 13, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants