Skip to main content

Function: auditLogCsv()

auditLogCsv(companyId, opts?): Promise<{ csv: string; filename: string; }>

Defined in: src/server/services/audit.ts:113

Audit log as a downloadable CSV. Same window/limit semantics as listAuditLog. Columns: When, Action, Entity, Entity id, Actor, Before→After summary.

Parameters

companyId

string

opts?

AuditListOpts

Returns

Promise<{ csv: string; filename: string; }>