Tanstack Start

Audit logs

Organization-wide audit trail with pagination.

Purpose

Audit Logs surface immutable records of sensitive actions for compliance review. Data loads through OrgAuditLogs.get.useQuery.

Who uses it

Security officers and tenant administrators reviewing who changed what.

Prerequisites

  • view_audit_log permission for /dashboard/audit-logs (organization-level route guard).

Sidebar → Audit Logs (/dashboard/audit-logs).

Step-by-step

  1. Open Audit Logs.
  2. Adjust pagination (page, perPage query parameters) using the table controls.
  3. Inspect columns — actor, action, resource, timestamps — as rendered by the column factory for your build.
  4. Open a row action if your UI links to /dashboard/audit-logs/$auditLogId for expanded detail.

Expected results

  • Rows correspond to API records; totals derive from response meta.

Troubleshooting

  • Empty list: Verify date filters if present in future builds, or confirm auditing is enabled server-side.
  • Failed to load: Retry or contact support if the API errors persist.

On this page