mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
- Add SQLiteLoggerFactory implementing LoggerFactory interface, bridging dbPath to SQLiteLoggerConfig.DataDir with per-tenant crypto support - Wire factory into server.go TenantLoggerManager initialization - Remove stub initAuditLoggerIfLicensed from license_handlers.go - Make all /api/audit/* handlers tenant-aware via GetOrgID(ctx) - Register /api/audit/export and /api/audit/summary with audit_logging license gate - Add factory persistence + HMAC signing test - Add tenant isolation test (org-a events invisible to org-b) Decision: always capture audit events to SQLite; gate query/export endpoints behind audit_logging license feature.