socket

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: MPL-2.0 Imports: 12 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 {
	sync.Mutex
	// contains filtered or unexported fields
}

Backend is the audit backend for the socket audit transport.

func (*Backend) GetHash

func (b *Backend) GetHash(ctx context.Context, 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(ctx context.Context, in *logical.LogInput) error

func (*Backend) LogResponse

func (b *Backend) LogResponse(ctx context.Context, in *logical.LogInput) error

func (*Backend) LogTestMessage added in v1.7.0

func (b *Backend) LogTestMessage(ctx context.Context, in *logical.LogInput, config map[string]string) error

func (*Backend) Reload

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

func (*Backend) Salt added in v0.7.3

func (b *Backend) Salt(ctx context.Context) (*salt.Salt, error)

Jump to

Keyboard shortcuts

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