Decide which actions matter
Record privilege changes, admin use, sensitive reads, exports, and auth failures needed to reconstruct disputes.
Decide what a business app should record about who did what and when, what to keep out of logs, and how to protect the record before you brief a developer.
Need this done for you?
Tell us about your projectThe short answer
What should an audit log record in a business application?
Record who did what, to which record, when, and with what result, for actions that change data or access. Keep secrets and unneeded personal data out, and protect the log from edits.
In a fictional invoice-approval app, a user who was a viewer last month can now approve invoices. A manager asks who granted that access, and when.
The app records permission changes as audit entries with the fields in the sample entry above.
Output: The manager gets a short answer: who changed the role, when, from what to what, and from which session.
Record privilege changes, admin use, sensitive reads, exports, and auth failures needed to reconstruct disputes.
Log timestamp, user identity, source address, event type, affected object, and outcome.
Exclude secrets and card data, mask personal details, restrict log access, and set retention.
Want audit logging scoped into your build?
Tell us about your projectWrite down the questions you would need to answer after an incident or a complaint.
For each question, name the action that would answer it.
Agree the fields every entry carries, using the who, what, when and where groups.
Name who may read the log and how reads are recorded.
Perform each action in a test copy and confirm the entry appears.
A sample of the fields to ask for. These values are made up.
time: 2026-01-15T10:42:07Z
actor: user id and role
source: address or device identifier
action: permission.changed
object: user account, record id
before/after: role viewer -> role approver
result: success
request_id: links this entry to related events| Event | Why it matters | Extra fields | Watch out for |
|---|---|---|---|
| Role or permission change | Shows who granted access | Old role, new role | Record the acting user, not only the target |
| Failed sign-in or permission check | Shows probing and misconfiguration | The rule that refused it | Never log the password that was typed |
| Export of customer data | Shows data leaving the app | Filter used, file name | Record the request, not the exported data |
| Record deleted or restored | Lets you reconstruct a dispute | Record id, prior state | Keep the id even if the record is removed |
| Admin account sign-in | Higher-risk use of the app | Source address | An alert may suit better than storage alone |
Choose this when
Think twice when
Choose this when
Think twice when
Facts reviewed as of
You don’t need a finished brief. Tell us what you want to change or build, and we’ll reply by email with a sensible first step.