# Variable AuditQueryCriteriaSchema`Const`

AuditQueryCriteriaSchema: ZodObject<
{
startTime: ZodOptional<ZodDate>;
endTime: ZodOptional<ZodDate>;
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";
},
>,
>,
>;
severities: ZodOptional<
ZodArray<
ZodEnum<{ info: "info"; warning: "warning"; critical: "critical" }>,
>,
>;
outcomes: ZodOptional<
ZodArray<
ZodEnum<
{
error: "error";
success: "success";
failure: "failure";
denied: "denied";
},
>,
>,
>;
actorId: ZodOptional<ZodString>;
resourceId: ZodOptional<ZodString>;
requestId: ZodOptional<ZodString>;
traceId: ZodOptional<ZodString>;
limit: ZodDefault<ZodOptional<ZodNumber>>;
offset: ZodDefault<ZodOptional<ZodNumber>>;
},
$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:214