Skip to content

usagereporter: split the ssh_port session start into ssh_port_v2, k8s_port#25987

Merged
espadolini merged 1 commit intomasterfrom
espadolini/prehog-ssh-port
May 11, 2023
Merged

usagereporter: split the ssh_port session start into ssh_port_v2, k8s_port#25987
espadolini merged 1 commit intomasterfrom
espadolini/prehog-ssh-port

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

The port audit event is used to indicate both SSH port forwarding and kubectl port-forward, but we were grouping both under a type of ssh_port for SessionStartEvent. This PR splits the two, and adds two fields to UserActivityReport (ssh_port_v2_sessions and kube_port_sessions) to count them for the aggregating usage reporter.

Depends on gravitational/cloud#4479 for proto changes.

Same goes for foo_sessions in UserActivityReport.
@espadolini espadolini force-pushed the espadolini/prehog-ssh-port branch from a589dd6 to 2356ca2 Compare May 11, 2023 08:48
@espadolini espadolini added this pull request to the merge queue May 11, 2023
Merged via the queue into master with commit 64ed94f May 11, 2023
@espadolini espadolini deleted the espadolini/prehog-ssh-port branch May 11, 2023 10:53
@public-teleport-github-review-bot
Copy link
Copy Markdown

@espadolini See the table below for backport results.

Branch Result
branch/v11 Failed
branch/v12 Create PR
branch/v13 Create PR

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants