> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit

> Who published, unpublished, changed the mandatory flag or sent announcements of the application, in Chile time, plus the archived rows of the retired MaihueGO table.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/general/applications/{id}/audit` |
| Menu | General › Applications › the application › **Audit** |
| Role | Application Release Manager ("Gestor de versiones"), General Admin, General Operator, General Viewer, Administrator |
| Permission | `bbrands-application-release-audit:find-all` and `bbrands-application-release:find-all` |
| Feature flag | None |
| Last verified | 2026-11-20 against the application release console stack (`8843bb617`) |

## What it is for

"Who published, unpublished, changed the mandatory flag or sent announcements of this application. Chile time."
When a user asks why the app forced them to update, or support needs to know who stopped an announcement, the
answer is here.

## How to get there

* **General › Applications** → the application → **Audit**.

## What you see

![Audit tab of MaihueGO with the date, person, action and detail of each change: an announcement completed by the system, announcements created and tested, publications, a release created, a store marked mandatory and a row archived from the legacy table.](https://mintcdn.com/bbrands/LuyVi-ZeCS_Up9Ae/images/enterprise-application-releases-screens/audit/audit.en.desktop.webp?fit=max\&auto=format\&n=LuyVi-ZeCS_Up9Ae\&q=85\&s=c83f9827ba47837614a4cc0b956946c9)

Audit tab: who did what and when, in Chile time.

| # | Element | What it does |
| - | - | - |
| 1 | **Date** | When it happened, Chile time |
| 2 | **Person** | Name and email; **System** for an API key, a cron or a migration |
| 3 | **Action** | What happened (see the table below) |
| 4 | **Detail** | What it was about (**Release**, **Announcement**, **Publication** or **Legacy store release**), the version and the store |

### Actions

| Action | Meaning |
| - | - |
| **Created**, **Edited**, **Activated**, **Deactivated**, **Deleted**, **Purged** | Changes to a release |
| **Published**, **Unpublished** | A publication on a store |
| **Made mandatory**, **Made optional** | The mandatory flag of a store |
| **Scheduled an announcement**, **Cancelled an announcement**, **Stopped an announcement**, **Announcement finished**, **Sent a test** | Announcement actions |
| **Archived from the legacy table** | A row of the retired MaihueGO store-release table, kept for history |

## Step by step

**1. Open the tab**

The newest entries come first; use the pagination to go back in time.

**2. Read who and what**

**Person** and **Action** say who did what; **Detail** names the version and the store.

## Business rules

| ID | Rule |
| - | - |
| R-01 | Every create, edit, activation, deletion and purge of a release, every publish, unpublish and mandatory change, and every announcement action writes one entry |
| R-02 | The entry keeps the before and after of the row, so nothing is lost when a release is purged |
| R-03 | An action through an API key or the system has no person and shows **System** |
| R-04 | The entries cannot be edited or deleted from the console |
| R-05 | The rows of the retired MaihueGO store-release table were archived here once, by migration, with their version and store |

## States and messages

| State | What you see | Why | What to do |
| - | - | - | - |
| Empty | "No entries" · "Actions on the releases of this application will show up here." | Nothing done yet | Nothing |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| The list does not load | The audit request failed | `GET /api/v3/bbrands/application/release/audit` 5xx | Retry; check the logs |

## Why it works this way

Marking a version mandatory blocks every older user, so the team needs to know who did it and when. The entry is
written right after the change and never blocks it: if writing the entry fails, the change stays and the failure is
logged. The legacy MaihueGO table was dropped, but its rows are history, so they were archived here instead of being
lost.

## Technical detail

| Aspect | Detail |
| - | - |
| Screen | `frontend/horizon-enterprise/app/components/screens/general/applications/application-audit-tab.tsx` |
| API | `GET /api/v3/bbrands/application/release/audit?application=…&page=…` |
| Table | `application_release_audit` (entity, entity id, action, person, application, release, before, after) |
| Legacy archive | Migration `0493`: entity `maihue_go_store_release`, action `archived`, the full legacy row in `before` |
| Texts | `messages/{es,en}.json` › `modules.general.entity.applications.audit` |

## FAQ and support cases

> [accordion] Who marked this version mandatory?
>
> Find **Made mandatory** with that version and store in **Detail**; **Person** says who.

> [accordion] What are the “Archived from the legacy table” entries?
>
> The releases MaihueGO kept in its old table until November 2026. They show the version and store they had; they
> no longer affect the update check.

## Related and history

* [Release detail](https://docs.bbrands.io/enterprise/application-releases/release-detail.md)
* [Update announcements](https://docs.bbrands.io/enterprise/application-releases/announcements.md)

| Date | Change |
| - | - |
| 2026-11-20 | First version, with the archived rows of the retired MaihueGO store-release table |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.