hyperlane-plugin-audit 23.3.1

A tamper-evident SHA-256 hash-chained security audit trail plugin for the Hyperlane framework with bounded in-memory ring-buffer sink, pluggable AuditSink trait, header redaction, and chain integrity verification.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

/// Pluggable sink receiving tamper-evident [`AuditRecord`] events.
pub trait AuditSink: Send + Sync + 'static {
    /// Records one finalized hash-chained [`AuditRecord`].
    ///
    /// # Arguments
    ///
    /// - `AuditRecord` - Finalized audit trail event.
    fn record(&self, event: AuditRecord);
}