Audit log
What it does
The audit log records who read or changed sensitive data in WebForms, and when. It covers what admins do to submissions, changes an AI assistant or another system makes through the API, reads of personal data, and erasures. You open it in Content → WebForms → Manage Forms, under More Actions → Audit Log.
Before you start
- Your admin role includes View Audit Log. It sits under Manage Forms in System → Permissions → User Roles. See Permission reference.
- The log shows only entries about the forms your role reaches. A role with All Forms sees every entry. Entries about customer accounts also need Magento's All Customers permission.
Steps
Open the log
- Go to Content → WebForms → Manage Forms.
- Click More Actions and select Audit Log.
The list shows the newest entries first. Each row has these columns. Object Type and Request ID are hidden at first: add them with Columns.
| Column | What it shows |
|---|---|
| ID | The entry's number. |
| Date | When it happened. |
| Event | What happened, such as Submission Status Change, Personal Data Read or Personal Data Erasure. |
| Actor Type | Who did it: Admin, Integration (a connected system, such as an AI assistant) or System (the store itself, for example a scheduled task). |
| Actor | The admin's user name or the connection's name. A connection's name doesn't tell you which person used it. |
| Object | What it acted on, such as a submission or a form, with its number. Object Type names the kind on its own. |
| Outcome | OK, Partial, Failed or Denied. Denied means WebForms refused the action. |
| Request ID | The same for every entry one request wrote. |
| Details | More about the action, such as which fields changed or how many submissions were read. |
Find an entry
- Click Filters.
- Pick what you're looking for, for example an Event, an Actor, a Date range or an Object number. To see everything that happened to one submission, enter its number in Object from and to.
- Click Apply Filters.
- In the row you want, click View in Details. Click Hide to close it again.
Export the log
- Filter the list to the entries you need, or clear the filters to export everything.
- Click Export, select CSV and click Export.
The file has the same columns as the list, newest first. Exporting is recorded in the log too, as Audit Log Export.
What you should see
The list shows the entries that match your filters. Back at the top of the page returns you to Manage Forms.
The log records, among others:
- in the admin: submission edits, status and approval changes, assignments, read marks and notes; changes of a submission's customer and its order links; sends to integrations; deletions, exports and prints of submissions; form deletions; changes to emails and PDF documents, such as switching them on or off and test emails; and changes of a field's Personal Data setting. Creating a form in the admin writes one Form Created entry: the emails and the standard PDF documents set up with it add none. Switching an email's Status on a store view writes Notification Status Changed with the store view and the old and new value;
- through the APIs: every change an AI assistant or another system makes, every read that showed personal data in full, and every temporary disclosure of personal data, with refusals and revokes. Connections that use the older WebForms 3 API are recorded too. See Personal data masking;
- erasures and deletions of a person's data, also when a customer account is deleted. See Erase a person's data.
Limits
- Not everything is recorded. Opening or reading a submission in the admin leaves no entry, and neither does saving or publishing a form in the builder, except changes to a field's Personal Data setting. Admin sign-ins aren't in this log.
- Entries name submissions, fields and forms by their numbers, not by their answers, and new entries hold no email addresses. In older entries, the screen and the export show addresses masked. They can hold admin user names, so treat an exported file as internal.
- Magento's scheduled tasks (cron) delete entries older than Audit Log Retention (Days). The default is
365. With0, nothing is deleted. See Settings: Submissions & Privacy. - Deleting or erasing a submission doesn't delete its entries in the log.
- A role limited to some forms doesn't see entries that name no form, such as a run of Erase Personal Data. To see the whole log, use a role with All Forms.
- Your developer can also export the log from the server. See CLI, cron and queues.
Troubleshooting
- More Actions has no Audit Log. Your role lacks View Audit Log. Ask an administrator to add it in System → Permissions → User Roles.
- Old entries are missing. They may be older than Audit Log Retention (Days) and deleted. To keep a longer history, raise the number or export the log on a schedule.
- An admin's change isn't in the log. Check Limits: opening a submission and changing a form in the builder aren't recorded.
What's next
- Personal data masking: what a disclosure is and who can ask for one.
- Erase a person's data: erase what one person sent and find the entry it leaves here.
- Settings: Submissions & Privacy: set how long the log is kept.