Navigation

Audit log

The organization audit log grants Organization Administrators access to review actions performed by individual members of the organization. In addition, each audit log includes events detailing who performed the action and when it happened.

Audit log retainment period is based on your plan:

  • Scaler Pro — 15 days
  • Enterprise — 15 days

Note

Organization audit log access is limited to Organization Administrators.

Review your organization audit log

You can review your organization audit log under your PlanetScale organization settings.

Once there, you can filter the audit log by Actor and/or Action.

Clicking and expanding individual log event names empowers you to investigate additional metadata that can provide broader context around what changed.

Audited organization events

You can track the following organization events in your PlanetScale account:

PlanetScale organization eventsActionsDatabase Engine

access_token

created

deleted

token_leaked

Vitess, Postgres

backup_policy

created

deleted

Vitess

branch_maintenance_schedule

created

deleted

started_maintenance_window

finished_maintenance_window

Vitess

branch_maintenance_window

created

deleted

Vitess

database

created

deleted

requested_deletion

updated_default_branch

updated_migration_table_name

removed_member

added_member

Vitess, Postgres

database_branch

created

deleted

enabled_safe_migrations

disabled_safe_migrations

enabled_foreign_keys

disabled_foreign_keys

enabled_vectors

updated_cluster_size

updated_cluster_config

updated_vtgates

updated_cluster_update_strategy

Vitess, Postgres

database_branch_keyspace

created

deleted

updated

requested_deletion

Vitess

database_branch_password

created

deleted

password_leaked

updated_ip_restrictions

Vitess, Postgres

database_branch_read_only_region

created

deleted

Vitess

database_deploy_request

created

deleted

closed

Vitess

database_webhook

created

deleted

Vitess, Postgres

deploy_request_review

approved

Vitess

deployment

unqueued

Vitess

external_datasource

created

deleted

Vitess, Postgres

integration

created

deleted

Vitess, Postgres

organization

created

deleted

joined

removed_member

left

added_member

enabled_sso

disabled_sso

enabled_sso_directory

disabled_sso_directory

Vitess, Postgres

organization_invitation

created

deleted

Vitess, Postgres

organization_membership

created

updated_role

Vitess, Postgres

organization_team

created

deleted

added_member

left

removed_member

Vitess, Postgres

postgres_role

created

deleted

PostgreSQL

regional_failover_event

created

deleted

Vitess, Postgres

service_token

created

deleted

updated_bulk_database_access

token_leaked

Vitess, Postgres

user

created

deleted

signed_in

Vitess, Postgres

Need help?

Get help from the PlanetScale Support team, or join our GitHub discussion board to see how others are using PlanetScale.