Documentation ¶
Index ¶
- func Factory(conf *audit.BackendConfig) (audit.Backend, error)
- type Backend
- func (b *Backend) GetHash(data string) (string, error)
- func (b *Backend) Invalidate()
- func (b *Backend) LogRequest(auth *logical.Auth, req *logical.Request, outerErr error) error
- func (b *Backend) LogResponse(auth *logical.Auth, req *logical.Request, resp *logical.Response, err error) error
- func (b *Backend) Reload() error
- func (b *Backend) Salt() (*salt.Salt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend is the audit backend for the file-based audit store.
NOTE: This audit backend is currently very simple: it appends to a file. It doesn't do anything more at the moment to assist with rotation or reset the write cursor, this should be done in the future.
func (*Backend) Invalidate ¶ added in v0.7.3
func (b *Backend) Invalidate()
func (*Backend) LogRequest ¶
func (*Backend) LogResponse ¶
Click to show internal directories.
Click to hide internal directories.