Skip to main content

AUDIT_KEY

Constant AUDIT_KEY 

Source
pub const AUDIT_KEY: &str = "audit_key";
Expand description

The keyed-hash keys the audit log commits actor and target identifiers under, and their history.

Separate from AUDIT because the two have opposite lifetimes: entries are erased when their retention expires, and a key must outlive every entry that references it or those entries stop being checkable against a candidate identifier.