Basic log table there

This commit is contained in:
Owen
2025-10-21 15:26:03 -07:00
parent 65364d6b0f
commit 9a64f45815
7 changed files with 804 additions and 42 deletions

View File

@@ -11,3 +11,4 @@
* This file is not licensed under the AGPLv3.
*/
export * from "./queryActionAuditLog";

View File

@@ -21,8 +21,8 @@ import * as domain from "#private/routers/domain";
import * as auth from "#private/routers/auth";
import * as license from "#private/routers/license";
import * as generateLicense from "./generatedLicense";
import * as logs from "#private/routers/auditLogs";
import { Router } from "express";
import {
verifyOrgAccess,
verifyUserHasAction,
@@ -345,3 +345,8 @@ authenticated.post(
verifyUserIsServerAdmin,
license.recheckStatus
);
authenticated.get(
"/org/:orgId/logs/action",
logs.queryAccessAuditLogs
)