Skip to content

Commit

Permalink
Add missing handshake descriptions to auditlog
Browse files Browse the repository at this point in the history
  • Loading branch information
tsipinakis committed May 13, 2022
1 parent 3ca702b commit 44db1d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions auditlog/message/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ var typeToID = map[Type]string{
TypeAuthKeyboardInteractiveFailed: "auth_keyboard_interactive_failed",
TypeAuthKeyboardInteractiveBackendError: "auth_keyboard_interactive_backend_error",

TypeHandshakeFailed: "handshake_failed",
TypeHandshakeSuccessful: "handshake_successful",

TypeGlobalRequestUnknown: "global_request_unknown",
TypeNewChannel: "new_channel",
TypeNewChannelSuccessful: "new_channel_successful",
Expand Down Expand Up @@ -114,6 +117,9 @@ var typeToName = map[Type]string{
TypeAuthKeyboardInteractiveFailed: "Keyboard-interactive authentication failed",
TypeAuthKeyboardInteractiveBackendError: "Keyboard-interactive authentication backend error",

TypeHandshakeFailed: "Handshake failed",
TypeHandshakeSuccessful: "Handshake successful",

TypeGlobalRequestUnknown: "Unknown global request",
TypeNewChannel: "New channel request",
TypeNewChannelSuccessful: "New channel successful",
Expand Down

0 comments on commit 44db1d3

Please sign in to comment.