POC mongodb tracing

This commit is contained in:
Mario
2022-05-17 00:17:39 +02:00
parent c7df138e37
commit 296cf26861
2 changed files with 38 additions and 0 deletions

View File

@ -74,6 +74,7 @@ func (SSHStrategy *SecureShellStrategy) Init(beelzebubServiceConfiguration parse
PasswordHandler: func(ctx ssh.Context, password string) bool {
tr.TraceEvent(tracer.Event{
Msg: "New SSH attempt",
Protocol: tracer.SSH,
Status: tracer.Stateless,
User: ctx.User(),
Password: password,