AuditResource
type AuditResource = | { tenant?: string; type: "tenant";} | { eventId?: string; tenant?: string; type: "event";} | { tenant: string; type: "integrity";} | { name?: string; type: "action";} | { tenant?: string; type: "retention";} | { name?: string; type: "stream";};Defined in: src/authorization/contract.ts:38
The resource an action targets. An absent tenant / name means “across
all” (listings, the cross-tenant event search, a global prune).