audit

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendTx

func AppendTx(ctx context.Context, tx *sql.Tx, e Entry) (string, error)

AppendTx keeps the actor snapshot with the change, including key issuer details.

Types

type Entry

type Entry struct {
	ID, ObjectType, ObjectID, Action, Via, Reason, State string
	Diff                                                 any
	BaseRev                                              int64
	Actor                                                auth.Principal
	ReviewedBy, ReviewedAt                               string
}

Jump to

Keyboard shortcuts

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