Module redact

Module redact 

Source

Constants§

TS_ZERO

Functions§

now_iso
redact_event
Apply redactions to a fact event for comparison and safe logging. Currently zeroes timestamps to TS_ZERO and removes volatile fields that could leak secrets in tests. Extend as policy evolves.
ts_for_mode
Return a timestamp for facts emission based on mode.