# Variable AuditLogConfigSchema`Const`

AuditLogConfigSchema: ZodObject<
{
logDir: ZodString;
filePrefix: ZodDefault<ZodOptional<ZodString>>;
maxFileSizeBytes: ZodDefault<ZodOptional<ZodNumber>>;
maxFiles: ZodDefault<ZodOptional<ZodNumber>>;
enableHashChain: ZodDefault<ZodOptional<ZodBoolean>>;
enableCompression: ZodDefault<ZodOptional<ZodBoolean>>;
flushIntervalMs: ZodDefault<ZodOptional<ZodNumber>>;
minSeverity: ZodDefault<
ZodOptional<
ZodEnum<{ info: "info"; warning: "warning"; critical: "critical" }>,
>,
>;
categories: ZodOptional<
ZodArray<
ZodEnum<
{
authorization: "authorization";
system: "system";
configuration: "configuration";
security: "security";
authentication: "authentication";
tool_invocation: "tool_invocation";
data_access: "data_access";
data_modification: "data_modification";
},
>,
>,
>;
},
$strip,
> = ...

Audit exports - Structured audit logging (Issue #193) Split from index.ts for file size compliance (Issue #285)

- Defined in packages/nexus-agents/src/audit/audit-types.ts:170