audit

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuditFormatter

func NewAuditFormatter(esClient esApi.EventStoreClient, efRegistry event.EventFormatterRegistry) *auditFormatter

NewAuditFormatter creates an auditFormatter

Types

type AuditFormatter

type AuditFormatter interface {
	NewHumanReadableEvent(context.Context, *esApi.Event) *audit.HumanReadableEvent
	NewUserOverview(context.Context, uuid.UUID, time.Time) *audit.UserOverview
}

AuditFormatter is the interface definition for the formatter used by the auditLogServer

Jump to

Keyboard shortcuts

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