Versions in this module Expand all Collapse all v0 v0.8.1 Oct 20, 2026 Changes in this version + const EventAbandoned + const EventApproved + const EventAuto + const EventCatalog + const EventDenied + const EventLogin + const EventLogout + const EventMode + const EventPolicy + const EventRefused + const EventResults + const EventRun + const EventTimeout + const EventUnmask + type Log = audit.Log + func Open(stateDir string) (*Log, error) + type Record struct + Affected int64 + Approval string + Class string + Code string + DB string + DBUser string + Decision string + DurationMS int64 + Engine string + Error string + Event string + Host string + Intent string + PeerPID int + PeerUID *int + PeerUser string + Profile string + Reason string + Rows int64 + SQL string + SSHHost string + SSHHostKey string + Span *refusal.Span + Truncated bool + Unmasked bool + Verdict string + Warnings []string + func (r Record) AuditEvent() string