Skip to content

Commit

Permalink
kube: add server_version to audit events (#42157) (#42183)
Browse files Browse the repository at this point in the history
This PR adds the server version to the Kubernetes originated audit
events to ensure we keep track of the version where these events
originated from.

Signed-off-by: Tiago Silva <[email protected]>
  • Loading branch information
tigrato authored May 30, 2024
1 parent fae6bfe commit 9a19f13
Show file tree
Hide file tree
Showing 4 changed files with 921 additions and 878 deletions.
3 changes: 3 additions & 0 deletions api/proto/teleport/legacy/types/events/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ message ServerMetadata {

// ServerSubKind is the sub kind of the server the session occurred on.
string ServerSubKind = 7 [(gogoproto.jsontag) = "server_sub_kind,omitempty"];

// ServerVersion is the component version the session occurred on.
string ServerVersion = 8 [(gogoproto.jsontag) = "server_version,omitempty"];
}

// Connection contains connection info
Expand Down
Loading

0 comments on commit 9a19f13

Please sign in to comment.