-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Emit app.session.start
event on tsh app login
and tsh proxy app
#43636
Conversation
3b7e054
to
e5fc2b1
Compare
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good 👍
Tested it and was able to see the events for both commands.
Can you please add some test coverage?
I spotted a typo in one of the fields and a test could have caught that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a few comments.
integrations/operator/crdgen/testdata/protofiles/teleport/legacy/client/proto/authservice.proto
Outdated
Show resolved
Hide resolved
e5fc2b1
to
21f700b
Compare
2a804fd
to
a624a5f
Compare
608ad5a
to
8af275c
Compare
8af275c
to
bde93c9
Compare
/excludeflake TestAppCommands |
Purpose
Resolves #37054
This PR emits the
app.session.start
audit event when launching an app fromtsh
, previously, the event would only be emitted when launching it from the WebUI.changelog: Emit
app.session.start
event when usingtsh app login