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

app.session.start audit event is not emitted when using Application Access with tsh or tbot #29246

Closed
strideynet opened this issue Jul 18, 2023 · 2 comments
Labels
application-access audit-log Issues related to Teleports Audit Log bug c-cgm Internal Customer Reference

Comments

@strideynet
Copy link
Contributor

The app.session.start audit event is intended to be emitted when a user begins an Application Access session. This functions correctly when using the Web UI, but when using tsh or tbot it does not appear. Other audit events, such as those that are emitted for each chunk / request, function correctly.

This is because it is emitted by the handler for POST /v1/webapi/sessions/app in the Proxy Service API. tsh and tbot call the CreateAppSession RPC on the Auth Server directly and do not use this endpoint.

As app.session.start is converted to an analytics event, this also has a knock on affect on our product analytics (app activity using tsh or tbot will not be recorded) for Teleport Cloud.

@strideynet strideynet added bug audit-log Issues related to Teleports Audit Log application-access labels Jul 18, 2023
@strideynet
Copy link
Contributor Author

I'm curious if we can just move this to be emitted as part of the Auth Server rather than in the Proxy - need to investigate and ensure all fields included in the current audit event could equally be emitted from the Auth Server.

If not, we may want to consider adding some other analytics event (perhaps based on session chunks/requests) in order to properly track Application Access usage in cloud.

@oshati oshati added the c-cgm Internal Customer Reference label May 3, 2024
@zmb3
Copy link
Collaborator

zmb3 commented Aug 12, 2024

Fixed by #43636

@zmb3 zmb3 closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application-access audit-log Issues related to Teleports Audit Log bug c-cgm Internal Customer Reference
Projects
None yet
Development

No branches or pull requests

3 participants