Loading...
Loading...
> Enterprise security timeline tracking all user actions with filtering, search, and CSV export for compliance.
1import { AuditLog } from "@/components/ui/audit-log"
Track all user actions for security and compliance
John Doe
USER_LOGINAuthentication System
Jane Smith
DATA_EXPORTEDUser Data Export
1<AuditLog2 organizationId="org_123"3 initialLogs={logs}4 onExport={async () => {5 // Export to CSV logic6 }}7/>
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | undefined | Additional CSS classes for the container. |
| organizationId | string | undefined | The ID of the organization (for multi-tenant apps). |
| onExport | () => Promise<void> | undefined | Callback function to export audit logs to CSV. |
| onRefresh | () => Promise<void> | undefined | Callback function to refresh the audit logs. |
| initialLogs | AuditLogEntry[] | [] | Initial array of audit log entries to display. |