MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / isSSHAuthEvent

Function isSSHAuthEvent

agent/app/service/ssh.go:1329–1331  ·  view source on GitHub ↗
(item sshParsedLog)

Source from the content-addressed store, hash-verified

1327}
1328
1329func isSSHAuthEvent(item sshParsedLog) bool {
1330 return item.History.Status == constant.StatusSuccess || item.History.AuthMode != ""
1331}
1332
1333func shouldParseSSHLogLine(line, status, filter string) bool {
1334 if !strings.Contains(line, "sshd") {

Callers 2

collectSSHLogItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected