#import "modules/std.sx"; // An append-only record of a mutation. `actor` is the user or service that // performed `action` on the target identified by `target_type` + // `target_id`. `metadata` is an opaque string for now (structured JSON // arrives with std/json in a later step). `created_at` is unix epoch seconds. AuditEvent :: struct { id: string; actor: string; action: string; target_type: string; target_id: string; metadata: string; created_at: s64; }