audit

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(e JournalEntry)

Types

type Event

type Event string
const EventBadPayload Event = "aegis-bad-payload"
const EventBadPeerSvid Event = "aegis-bad-peer-svid"
const EventBadSvid Event = "aegis-bad-svid"
const EventBrokenBody Event = "aegis-broken-body"
const EventDecryptionFailed Event = "aegis-decryption-failed"
const EventEncryptionFailed Event = "aegis-encryption-failed"
const EventEnter Event = "aegis-enter"
const EventNoSecret Event = "aegis-no-secret"
const EventNoValue Event = "aegis-no-value"
const EventNoWorkloadId Event = "aegis-no-wl-id"
const EventOk Event = "aegis-ok"
const EventRequestTypeMismatch Event = "aegis-request-type-mismatch"

type JournalEntry

type JournalEntry struct {
	CorrelationId string
	Entity        any
	Method        string
	Url           string
	Svid          string
	Event         Event
}

Jump to

Keyboard shortcuts

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