mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 08:34:52 +00:00
misc: added audit logs for kms backup and other minor edits
This commit is contained in:
@@ -281,7 +281,13 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
|
||||
projectId: req.params.workspaceId
|
||||
});
|
||||
|
||||
// TODO: add audit log
|
||||
await server.services.auditLog.createAuditLog({
|
||||
...req.auditLogInfo,
|
||||
projectId: req.params.workspaceId,
|
||||
event: {
|
||||
type: EventType.GET_PROJECT_KMS_BACKUP
|
||||
}
|
||||
});
|
||||
|
||||
return backup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user