Add audit logging to the Active Directory management platform

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/635c216f-3f58-4a2c-bfd7-d53270f7f8e2.jpg
This commit is contained in:
alphaeusmote
2025-04-09 01:58:20 +00:00
parent c52c024ccc
commit 0b749d0e16
+15
View File
@@ -256,6 +256,21 @@ const swaggerOptions = {
description: "Number of records to skip",
schema: { type: "integer" },
},
AuditLog: {
type: "object",
properties: {
id: { type: "integer" },
action: { type: "string" },
targetId: { type: "string" },
details: {
type: "object",
additionalProperties: true
},
userId: { type: "integer" },
timestamp: { type: "string", format: "date-time" },
connectionId: { type: "integer" }
},
},
},
responses: {
UnauthorizedError: {