audit

package
v0.28.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(actor, actorType, event, details string, properties *map[string]interface{}) error

func LogWithRequest added in v0.24.0

func LogWithRequest(r *http.Request, actor, actorType, event, details string, properties *map[string]interface{}) error

LogWithRequest logs an audit event enriched with source IP and user-agent from the HTTP request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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