eventrecorder

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AuthTypeNone = iota
	AuthTypePassword
	AuthTypeSymantecVIP
	AuthTypeU2F
)
View Source
const (
	VIPAuthTypeOTP = iota
	VIPAuthTypePush
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo added in v1.4.3

type AuthInfo struct {
	AuthType    uint
	Username    string
	VIPAuthType uint8
}

type EventRecorder

type EventRecorder struct {
	AuthChannel                 chan<- *AuthInfo
	RequestEventsChannel        chan<- chan<- Events
	ServiceProviderLoginChannel chan<- *SPLoginInfo
	SshCertChannel              chan<- *ssh.Certificate
	WebLoginChannel             chan<- string
	X509CertChannel             chan<- *x509.Certificate
	// contains filtered or unexported fields
}

func New

func New(filename string, logger log.Logger) (*EventRecorder, error)

type EventType

type EventType struct {
	AuthType           uint
	CreateTime         uint64 // Seconds since Epoch.
	LifetimeSeconds    uint32
	ServiceProviderUrl string
	Ssh                bool
	WebLogin           bool
	X509               bool
	VIPAuthType        uint8
}

type Events

type Events struct {
	ComputeTime time.Duration
	Events      EventsMap
}

type EventsMap

type EventsMap map[string][]EventType // Key: username.

type SPLoginInfo added in v1.4.3

type SPLoginInfo struct {
	URL      string
	Username string
}

Jump to

Keyboard shortcuts

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