Cybersecurity
Application Audit Logs for Critical Actions
An audit log shows who initiated an operation, when it happened and what the outcome was. For an approved action, the log should link the request, decision and execution.

Reviewed on 6 December 2026
At a glance
The short answer
We define events for role changes, exports and other agreed actions. We specify the fields to capture, who can view them, how long to keep them and how to verify that a case can be reconstructed.
Worked example · MEGA Promoting
How an audit log shows whether an approved action ran
In a fictional finance portal, a supervisor approves changing an account limit. The application hands the update to a background job, which may be delayed or return an error. If the audit log displays only the approval, a reviewer may conclude that the limit changed while the application still uses the previous value.
In a sample financial portal, a supervisor approves a new limit. If the background job fails to apply it, the log shows both the approval and execution failure under one reference. A reviewer checks the effective limit in the application.
How to proceed
Define the event stages
Assign a component to log the request, approval and execution outcome. Use one reference to follow the action and keep fields unnecessary for review out of the log.
Check a delayed outcome
In the test environment, use an agreed pending state. Check that the audit trail shows the operation as pending until the background process confirms it.
Compare with active data
Look up the latest state by reference and check the active limit. Confirm that this level of detail is reserved for the designated audit role.
Checklist
Tick what you’ve verified. Selections reset on reload.
What each event records
For agreed actions, the log captures the actor ID, time in UTC, operation, object, and outcome. A common reference links the action to its request. We specify required fields and keep tokens and passwords out of logged data.
Example audit record
In a synthetic example, account A-014 approves export E-007 at 09:42 UTC. The reviewer locates the event using the export reference and confirms the actor, result, and authorizing role.
Handover verification
We verify that the designated reviewer can search and export events and that ordinary users cannot view them. We deliver an event catalog, retention rules, and a redacted test excerpt.
Questions
Frequently asked questions
How do we set audit log retention?
Retention depends on the log’s purpose, applicable requirements and the period the team needs to review events. We also document who can approve exceptions.
See also
Related pages
Talk to a MEGA specialist
Tell us which application or infrastructure you want reviewed and what you need to achieve. We will agree on scope and acceptance criteria.