sshd

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessEntry

func ProcessEntry(config *SshdProcessorer) error

func SetLogger

func SetLogger(l *zap.SugaredLogger)

Types

type SshdLogEntry

type SshdLogEntry struct {
	Message string
	PID     string
}

type SshdProcessor

type SshdProcessor interface {
	ProcessSshdLogEntry(ctx context.Context, sm SshdLogEntry) error
}

func NewSshdProcessor

func NewSshdProcessor(
	ctx context.Context,
	logins chan<- common.RemoteUserLogin,
	nodeName string,
	machineID string,
	eventW *auditevent.EventWriter,
	m *metrics.PrometheusMetricsProvider,
) SshdProcessor

type SshdProcessorer

type SshdProcessorer struct {
	// contains filtered or unexported fields
}

func (*SshdProcessorer) ProcessSshdLogEntry

func (s *SshdProcessorer) ProcessSshdLogEntry(ctx context.Context, sm SshdLogEntry) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL