Skip to main content

Audit Log

RiDDiX - Matrix Synapse Panel maintains a comprehensive audit trail for all administrative and registration activity.

Overview

Every significant action is recorded with:

  • Action type — what happened (e.g., token.created, registration.success)
  • Actor — who performed the action (admin email or IP address)
  • Target — what was affected (e.g., token value, server ID)
  • Detail — additional context (sanitized, no sensitive values)
  • Server ID — which managed server the action relates to
  • IP address — client IP (from X-Forwarded-For or X-Real-IP headers)
  • Timestamp — when the action occurred

Audit Actions

Server Management

ActionDescription
server.createdA new managed server was added
server.updatedServer configuration was changed
server.enabledServer was activated
server.disabledServer was deactivated
server.deletedServer was removed
server.default.changedDefault server was changed
server.token.rotatedServer admin token was rotated
server.diagnostics.runDiagnostics were executed for a server

Token Management

ActionDescription
token.createdA registration token was created
token.updatedA token's settings were changed
token.disabledA token was disabled (uses_allowed set to 0)
token.deletedA token was deleted

Registration

ActionDescription
registration.attemptA registration was attempted
registration.successA registration completed successfully
registration.failureA registration failed (error code logged, not token value)

Authentication

ActionDescription
admin.loginAdmin logged in
admin.logoutAdmin logged out

Branding

ActionDescription
branding.createdBranding profile created
branding.updatedBranding profile updated
branding.publishedBranding profile published
branding.resetBranding profile reset to defaults
branding.deletedBranding profile deleted
branding.asset.uploadedBranding asset uploaded
branding.asset.deletedBranding asset deleted

Integrations

ActionDescription
integration.installedIntegration installed from catalog
integration.updatedIntegration configuration updated
integration.enabledIntegration enabled
integration.disabledIntegration disabled
integration.restartedIntegration restarted
integration.upgradedIntegration version upgraded
integration.uninstalledIntegration uninstalled
integration.secret.rotatedIntegration secret was rotated
integration.diagnostics.failureIntegration diagnostics failed
bridge.pairedBridge pairing completed
bridge.pairing.failedBridge pairing failed

Bots

ActionDescription
bot.createdBot created from template
bot.updatedBot configuration updated
bot.activatedBot activated
bot.deactivatedBot deactivated
bot.deletedBot deleted
bot.room.assignedBot assigned to a room
bot.room.unassignedBot removed from a room
bot.feature.updatedBot feature toggle changed

Viewing the Audit Log

Navigate to Admin → Audit Log. The log displays entries in reverse chronological order with pagination.

When a server is selected in the context selector, the audit log is filtered to show only entries for that server. Clear the server selection to see all entries.

Server Scoping

Audit log entries include an optional serverId field. This allows:

  • Filtering logs by server in the admin UI
  • Associating actions with the correct homeserver
  • Global actions (like admin.login) have serverId as null

Security

  • Token values are never logged in audit entries
  • Error details are sanitized (only error codes, not full messages)
  • Detail fields have length limits
  • The audit API validates offset and limit parameters (NaN-safe)