Help us shape the future of Go! Take the 2026 Go Developer Survey

audit

package
v1.11.9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package audit emits structured security and business audit events through log/slog. Applications must provide durable storage, tamper evidence, access controls, retention, and compliance policy in their audit pipeline.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(ctx context.Context, actor, action, resource string, details map[string]any)

Log emits a structured audit event through the configured slog handler. Durability, tamper evidence, access control, and retention are responsibilities of the application's log pipeline and audit store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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