syslog

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(ctx context.Context, conf *audit.BackendConfig) (audit.Backend, error)

Types

type Backend

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

Backend is the audit backend for the syslog-based audit store.

func (*Backend) GetHash added in v0.4.0

func (b *Backend) GetHash(data string) (string, error)

func (*Backend) Invalidate added in v0.7.3

func (b *Backend) Invalidate(_ context.Context)

func (*Backend) LogRequest

func (b *Backend) LogRequest(_ context.Context, auth *logical.Auth, req *logical.Request, outerErr error) error

func (*Backend) LogResponse

func (b *Backend) LogResponse(_ context.Context, auth *logical.Auth, req *logical.Request, resp *logical.Response, err error) error

func (*Backend) Reload added in v0.6.2

func (b *Backend) Reload(_ context.Context) error

func (*Backend) Salt added in v0.7.3

func (b *Backend) Salt() (*salt.Salt, error)

Jump to

Keyboard shortcuts

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