Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 44db1d3

Browse files
committed
Add missing handshake descriptions to auditlog
1 parent 3ca702b commit 44db1d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

auditlog/message/type.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ var typeToID = map[Type]string{
7272
TypeAuthKeyboardInteractiveFailed: "auth_keyboard_interactive_failed",
7373
TypeAuthKeyboardInteractiveBackendError: "auth_keyboard_interactive_backend_error",
7474

75+
TypeHandshakeFailed: "handshake_failed",
76+
TypeHandshakeSuccessful: "handshake_successful",
77+
7578
TypeGlobalRequestUnknown: "global_request_unknown",
7679
TypeNewChannel: "new_channel",
7780
TypeNewChannelSuccessful: "new_channel_successful",
@@ -114,6 +117,9 @@ var typeToName = map[Type]string{
114117
TypeAuthKeyboardInteractiveFailed: "Keyboard-interactive authentication failed",
115118
TypeAuthKeyboardInteractiveBackendError: "Keyboard-interactive authentication backend error",
116119

120+
TypeHandshakeFailed: "Handshake failed",
121+
TypeHandshakeSuccessful: "Handshake successful",
122+
117123
TypeGlobalRequestUnknown: "Unknown global request",
118124
TypeNewChannel: "New channel request",
119125
TypeNewChannelSuccessful: "New channel successful",

0 commit comments

Comments
 (0)