TREN

Audit Trails and Activity Logs

One day a figure comes out wrong, an order goes missing, or a price changes at a moment nobody can account for. At that point there is only one question. Who did this.

An audit trail exists to answer that question later. Its value shows up when something has gone wrong, and that is exactly the moment when it is too late to start building one.

Talk to us about this

What the System Covers

What gets recorded

Not every click, but every action that changes state. Deletions, permission changes, price and amount changes, exports and failed sign-in attempts. Recording everything produces noise, and the line that matters disappears underneath it.

Before and after

Knowing that a record changed is not enough, what it changed from and to is held as well. On its own, the fact that something changed means nothing when a dispute comes up.

Who and from where

The user, the time and the address the request came from are recorded. With a shared account this question cannot be answered, which is why we recommend named accounts.

Protecting the record

The log should be append only and not editable through the application. It should also be copied off the machine, because the first thing an intruder does is clear the log.

Making it visible

A log that is collected and never looked at may as well not exist. Showing the records in the panel with filters is the only reason keeping them makes sense.

Retention

Logs carry personal data too. How long they are kept is written down and expired entries are removed, otherwise the thing kept for security becomes a risk in its own right.

How We Work

  • Every state-changing action is recorded, reads only where the record is sensitive.
  • Passwords, tokens and full card details never reach a log line.
  • Entries cannot be altered through the application, only appended.
  • Logs are included in the nightly backup and leave the machine.

Frequently Asked Questions

Where a system processes personal data, access and changes are expected to be traceable, particularly for special category data such as health records. After a breach you have to establish in writing what was affected, and without a record that question cannot be answered.

Built properly it is not noticeable. What slows things down is recording every request and putting the write inside the main operation. We record only meaningful actions and keep the write off the critical path.

There is no single right answer, it depends on the work. For financial records statutory retention periods decide it, while for technical logs a few weeks is usually enough. What matters is that the period is written down and actually enforced.

Yes. The hard part is not the past but the future, meaning deciding which actions to record and wiring them in from one place rather than scattering the calls through the code. Logging spread across a codebase always ends up incomplete.

Which Service This Belongs To

This page covers one topic. The full scope and pricing live on the related service page.

Our Other Areas of Expertise