Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type Action int
type Event ¶
func (*Event) Dispatch ¶ added in v0.0.22
func (e *Event) Dispatch(cc chan types.InteractionEvent)
Dispatch overrides the promoted BaseEvent.Dispatch so the outer SSH Event (and its concrete Details() / action) is delivered on the channel rather than the embedded BaseEvent pointer.
func (*Event) FilterString ¶ added in v0.0.24
FilterString returns "SSH <ACTION> <user> from <ip>", e.g. "SSH PasswordAuth root from 10.0.0.5".
func (*Event) Interaction ¶ added in v0.1.0
func (e *Event) Interaction() *model.Interaction
Interaction records the SSH auth attempt (target is the username tried) for the DB / web UI.
Click to show internal directories.
Click to hide internal directories.