audit

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Succeeded = "Succeeded"
	Failed    = "Failed"
	Denied    = "Denied"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	PublicID       string
	ActorUserID    *int64
	SessionID      *int64
	WorkspaceID    *int64
	Action         string
	TargetType     string
	TargetPublicID string
	Outcome        string
	Reason         string
	RequestID      string
	TraceID        string
	SourceHash     []byte
	UserAgentHash  []byte
	Metadata       map[string]any
}

func (Event) MetadataJSON

func (e Event) MetadataJSON() []byte

Jump to

Keyboard shortcuts

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