We use cookies to understand how people use Depot.
👩‍🚀 Introducing Depot Registry
← All Posts

Now available: Audit logging for improved security

Written by
iris
Iris Scholten
Published on
3 June 2025
We're excited to announce the launch of Audit Logging in the Depot web app, a critical step forward for security and operational accountability. Audit logging gives you a clear, timestamped record of key actions that lets you track important changes and identify exactly who made them.
Now available: Audit logging for improved security banner

We're excited to announce the launch of Audit Logging in the Depot web app, a critical step forward for security and operational accountability. Audit logging gives you a clear, timestamped record of key actions that lets you track important changes and identify exactly who made them. This feature empowers you to detect unexpected behavior, ensure compliance, and debug faster.

What is audit logging?

Audit logging is the automatic recording of events and actions taking place in an application. It captures critical context including

  • What action was taken
  • Who performed the action
  • When it occurred
  • Which resources it affected

This is essentially a paper trail of notable activity in the application. It can provide a detailed history of actions that can help to identify notable changes to resources in your organization as well as monitor who's making those changes.

audit logging in depot web app
audit logging in depot web app

In Depot, we've started by capturing events for key actions in the application relating to your organization and projects. This includes, but is not limited, to the setup of new organizations or projects, changes in who has access to your organization, changes to API and access tokens, as well as configuration updates with various integrations.

Why audit logging is useful

When multiple people are managing shared resources, it's easy to lose track of changes. Audit logs give your team a clear, time-stamped record of what happened, when, and who made the change. This visibility is essential for debugging issues, staying secure, and maintaining operational clarity.

For example, audit logs can reveal:

  • A cache resets that explains sudden cache misses during builds
  • Deleted access tokens causing authentication failures
  • Removed users losing access to the Depot web app

Instead of guessing what went wrong, you'll be able to quickly pinpoint the action, who performed it, and the exact impact. Audit logging not only makes troubleshooting faster but also provides the accountability needed for compliance, security, and smooth collaboration.

Integration with WorkOS

Our audit logging implementation is powered by an integration with WorkOS to store and view these audit log events. WorkOS provides a customizable and exportable audit logging solution that enables us to send structured audit log event data to be viewed and managed in their Admin portal. Each action has a versioned schema associated with it, which allows for standardization of the included details for each action across events. For example, we can configure the actor, who is responsible for performing the action, for all events to always include the additional metadata of email and role so that there is an additional level of clarity about who is performing these actions.

WorkOS Schema for the project.created action with actor metadata:

{
  action: 'project.created',
  actor: {metadata: {role: 'string', email: 'string'}},
  targets: [{type: 'project'}],
}
audit logging actor details
audit logging actor details

This helps ensure that we're providing data in a consistent format for events to make it easy to search, filter, and analyze your organization's audit logs.

These audit logs are viewable via an admin portal in WorkOS for a default retention of 30 days. The admin portal is available from the Organization Settings page in the Depot web app for those with the feature enabled.

how to access audit logging in depot web app
how to access audit logging in depot web app

Additionally, WorkOS supports LogStreams, which allows you to forward audit logs to your own Security Incident and Event Management (SIEM) system or any other log storage provider you already use, enabling seamless integration into your existing observability or compliance workflows.

Audit log availability

This feature will be available for customers on our business plan. If you're interested in utilizing this feature, reach out and we can get it set up for you.

Take control of your security: Try audit logging today

If you're managing projects and access in Depot, audit logging is your new best friend for staying on top of changes. This feature is available for customers on the Business Plan. Reach out to enable it and start gaining visibility into your organization's actions.

iris
Iris Scholten
Staff Software Engineer at Depot
Your builds have never been this quick.
Start building