Audit Trail Design

Design the audit log for user and admin actions: start from the investigation questions (who did what to which record, when, from where, allowed or denied), log denials as well as successes, write state changes in the same transaction as the change, keep the trail in an append-only store separate from application logs with tamper evidence from a hash chain or write-once storage, keep secrets and full personal data out of entries, fix retention and reviewer access, and accept it only when a staged incident can be reconstructed from the trail alone. Use when someone says "we need an audit log", "customers want an activity history", "who changed this setting", or is adding admin, impersonation or export features. Not for operational metrics and traces (instrumentation), deciding who may act (authorization-design), or what should page someone (alert-design).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit e7350f15df

Frequently asked questions

npx get-skill add greenblacked/audit-trail-design