Audit answers who changed what and why

A critical integration needs more than application logs. An audit trail is durable business evidence: actor, action, target, before/after meaning where appropriate, timestamp, authorization context, correlation, and outcome. It should survive log rotation and support investigation without storing secrets or unnecessary sensitive payloads.

Separate audit evidence from debug logs

  • Use stable business action names rather than free-form log sentences.
  • Record actor identity and impersonation/support context separately.
  • Link local action, outbound request, provider response, and asynchronous continuation with correlation IDs.
  • Prefer hashes or references for sensitive documents and large payloads.
  • Protect audit storage from ordinary application update/delete permissions.

An auditable integration sequence

Audit captures the business decision and links each integration hop without duplicating confidential payloads.

Diagram

One correlation across a critical integration

Audit captures the business decision and links each integration hop without duplicating confidential payloads.

Tracing a beneficiary update

Audit data that creates new risk

Audit checklist

  • Define an action vocabulary and required fields.
  • Store actor, target, reason/context, timestamp, outcome, and correlation.
  • Redact or reference sensitive data.
  • Make audit retention and access controls explicit.
  • Test that denied, failed, retried, and completed flows remain reconstructable.