RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Your Rails audit log has 4 blind spots. Auditors know all of them.

paper_trail, audited and logidze answer “what changed, and who changed it?” well. HIPAA and SOC 2 reviews also ask who viewed or exported sensitive data, whether the log itself can be trusted, how long it’s kept, and whether you can produce evidence. This article walks through each gap with plain Rails and PostgreSQL code (read logging, a hash chain, an append-only table, a retention job) and compares the existing gems. It also introduces sealed_trail, a new MIT-licensed audit gem, though everything in the article works without it.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in