Skip to content

Variable: AuditEvent ​

ts
const AuditEvent: z.ZodObject<{
  action: z.ZodString;
  actorId: z.ZodString;
  actorType: z.ZodEnum<{
     app: "app";
     applicant: "applicant";
     service: "service";
     system: "system";
     user: "user";
     workflow: "workflow";
  }>;
  id: z.ZodGUID;
  meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
     ip: z.ZodNullable<z.ZodString>;
     requestId: z.ZodString;
     route: z.ZodString;
     userAgent: z.ZodNullable<z.ZodString>;
  }, z.core.$strip>>>;
  occurredAt: z.ZodCoercedDate<unknown>;
  payload: z.ZodUnknown;
  resourceId: z.ZodString;
  resourceType: z.ZodString;
  tenantId: z.ZodGUID;
}, z.core.$strip>;

Append-only record of who did what to which resource.

Released under the Apache-2.0 License.