feat(enterprise): add audit log export endpoint (CSV/JSON)

This commit is contained in:
SnapOtter
2026-06-13 16:45:11 +08:00
parent c6f9a29687
commit 913dd6bbe1
5 changed files with 233 additions and 0 deletions
+4
View File
@@ -50,6 +50,7 @@ import { settingsRoutes } from "./routes/settings.js";
import { teamsRoutes } from "./routes/teams.js";
import { registerToolRoutes } from "./routes/tools/index.js";
import { userFileRoutes } from "./routes/user-files.js";
import { registerEnterpriseRoutes } from "./routes/enterprise/index.js";
// Run before anything else
try {
@@ -347,6 +348,9 @@ await rolesRoutes(app);
// Admin ops routes (runtime log level, Prometheus metrics)
await adminOpsRoutes(app);
// Enterprise routes (license-gated features)
await registerEnterpriseRoutes(app);
// API docs (Scalar)
await docsRoutes(app);