mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-07-26 11:59:14 +00:00
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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user