Back to Supabase

Platform Audit Logs

apps/docs/content/guides/security/platform-audit-logs.mdx

1.26.041.4 KB
Original Source

Any Platform API or dashboard actions performed by organization members are logged automatically for auditing and security purposes. This includes actions such as creating a new project, inviting members, modifying an edge function or changing project settings.

Besides Platform Audit Logs, Supabase Auth also provides Auth Audit Logs to monitor authentication-related activities within your projects.

<Admonition type="note">

Platform Audit Logs are only available on the Team and Enterprise plans.

</Admonition>

Accessing audit logs

Platform Audit Logs can be found under your organization's audit logs.

<Image alt="Platform audit logs" src={{ light: '/docs/img/guides/security/platform-audit-logs--light.png', dark: '/docs/img/guides/security/platform-audit-logs--dark.png', }}

width={2414} height={958} />

For each audit log, you can see additional details by clicking on the log entry:

  • Timestamp of action
  • Actor who performed the action
    • IP address
    • Email
    • Token Type
  • Action performed
    • Name
    • Metadata such as route and response status
  • Action Target (Project, organization, Edge Function, ...)

Limitations

  • There is currently no way to export the logs via dashboard
  • There is currently no way to set up a log drain of platform audit logs
  • Retention periods depend on your plan