An audit log is a record of important actions in a system, such as who changed a price, deleted a customer or exported data. It lets you answer questions about what happened.

What it should record

Capture the events that matter.

  • Sign ins and failed sign in attempts
  • Changes to records, prices and permissions
  • Deletions and exports of data
  • The person, the time and what changed

Why it helps

It deters misuse, speeds up investigations and settles who did what. It also supports your duty to keep personal information secure.

Protect the log

Only a few people should be able to read it, and nobody should be able to edit or delete entries. Keep it for a sensible period, then remove old entries.