vault: Index | Files

package file

import ""


Package Files


func Factory Uses

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

type Backend Uses

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) GetHash Uses

func (b *Backend) GetHash(ctx context.Context, data string) (string, error)

func (*Backend) Invalidate Uses

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

func (*Backend) LogRequest Uses

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

func (*Backend) LogResponse Uses

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

func (*Backend) Reload Uses

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

func (*Backend) Salt Uses

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

Package file imports 14 packages (graph) and is imported by 27 packages. Updated 2019-07-02. Refresh now. Tools for package owners.