Skip to content

Add invited and reason fields to SessionStartEvent#51070

Merged
rosstimothy merged 1 commit into
masterfrom
tross/enrich_session_start_event
Jan 17, 2025
Merged

Add invited and reason fields to SessionStartEvent#51070
rosstimothy merged 1 commit into
masterfrom
tross/enrich_session_start_event

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 15, 2025

In addition to adding the new fields and populating them, this also updates tsh kube exec to include a --namespace flag similar to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.

Changelog: Include invited and reason fields in SessionStartEvents
Changelog: Add a flag to tsh kube exec to allow specifying the namespace outside of the Kubernetes context

Comment thread lib/kube/proxy/forwarder.go Outdated
@rosstimothy rosstimothy force-pushed the tross/enrich_session_start_event branch from 156c1e5 to 292e196 Compare January 15, 2025 16:31
@rosstimothy rosstimothy marked this pull request as ready for review January 15, 2025 16:40
@github-actions github-actions Bot requested review from Tener and r0mant January 15, 2025 16:40
@github-actions github-actions Bot added kubernetes-access size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jan 15, 2025
@rosstimothy rosstimothy force-pushed the tross/enrich_session_start_event branch from 292e196 to 7412dbd Compare January 15, 2025 16:50
@rosstimothy rosstimothy force-pushed the tross/enrich_session_start_event branch 2 times, most recently from 5784705 to 9911cbd Compare January 15, 2025 21:38
Comment thread lib/kube/proxy/sess.go Outdated
Copy link
Copy Markdown
Contributor

@Tener Tener left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: changelog should mention the kube change too.

In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
@rosstimothy rosstimothy force-pushed the tross/enrich_session_start_event branch from 26d5898 to 5f590b5 Compare January 17, 2025 14:19
@rosstimothy rosstimothy enabled auto-merge January 17, 2025 14:20
@rosstimothy rosstimothy added this pull request to the merge queue Jan 17, 2025
Merged via the queue into master with commit 91a7bfd Jan 17, 2025
@rosstimothy rosstimothy deleted the tross/enrich_session_start_event branch January 17, 2025 14:58
@public-teleport-github-review-bot
Copy link
Copy Markdown

@rosstimothy See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Failed

rosstimothy added a commit that referenced this pull request Jan 17, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
rosstimothy added a commit that referenced this pull request Jan 17, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
rosstimothy added a commit that referenced this pull request Jan 17, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
rosstimothy added a commit that referenced this pull request Jan 17, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
rosstimothy added a commit that referenced this pull request Jan 17, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
rosstimothy added a commit that referenced this pull request Jan 17, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
mvbrock pushed a commit that referenced this pull request Jan 18, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 20, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 20, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 20, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
carloscastrojumo pushed a commit to carloscastrojumo/teleport that referenced this pull request Feb 19, 2025
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes gravitational#51019.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 kubernetes-access size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invited and reason parameters not audited for SSH session

3 participants