Blog

November 30, 2026·Product

Announcing Audit Logs

Stevche Radevski

Stevche avatar

Stevche Radevski

Every action in your store and Cloud organization can now be recorded, traceable and tamper-free, whether it's taken in the dashboard, the CLI or through the API.

Image modal

Audit Logs are now available in Medusa. Record who did what in your organization and in your stores and on which resource. Audit Logs are an add-on for the Scale and Enterprise plans on Medusa Cloud.

Turning Audit Logs on covers two kinds of activity:

  1. Your teams actions in Cloud
  2. Your teams actions in your Store

Audit Logs is the latest in a series of security features we've released for stores running on Medusa Cloud. Check out Medusa Security and RBAC (insert links).

Cloud actions

Medusa records every action that members and access keys take in your organization. This covers the Cloud dashboard, the Cloud CLI and the Cloud API. Examples are creating an environment or updating an environment variable.

You read these on the new Audit Logs page in the Cloud dashboard:

  • Search: Find records by action, resource or actor ID.
  • Filters: Narrow down by project, outcome and time range.
  • Details: Expand a record to see the request, status code, IP address, user agent and request ID.
Image modal

Store actions

Medusa records every action that users take in your store. We automatically track all Admin API requests that create, update or delete data, including sign-ins and requests that were denied or failed. Request and response bodies are not stored, unless explicitly configured.

Users with permission to read audit logs in your store, can do so in Medusa Admin under Settings → Audit Logs.

Image modal

Extending Audit Logs

You can extend what is recorded in your store. For example, you can include a custom route with the Copy to clipboardaudit setting:

import { defineMiddlewares } from "@medusajs/framework/http"
export default defineMiddlewares({
routes: [
{
matcher: "/vendors/products",
methods: ["POST"],
audit: true,
},
],
})

You can also record actions that happen outside API requests, such as in scheduled jobs and subscribers, by using the audit module directly:

INSERT

Installation

For Scale organizations on Cloud there is nothing to configure, aside from enabling the add-on, which you can do from the Audit Logs page in Medusa Cloud. Once enabled, Cloud sets up the Audit Module in your environments and stores the records for you. Environments need Medusa v2.23.0 or later and start recording after their next deployment.

On the Scale plan, Audit Logs cost $50 per month, plus $0.50 per 1,000 records. Records are kept for 14 days. Enterprise plans have their own pricing and retention.

Get started

Open the Audit log page in your Cloud organization to turn audit logs on. Read the Cloud documentation for the details, or the Audit Module documentation to customize what your application records.

Share this post

Ready to build your custom commerce setup?