Skip to main content

ProxyAudit

Trait ProxyAudit 

Source
pub trait ProxyAudit:
    Send
    + Sync
    + 'static {
    // Required method
    fn record(&self, kind: &str, payload: Value);
}
Expand description

Where security-relevant proxy decisions are recorded (the chain, in production). Per-request traffic is not recorded, only binds, refusals and exposure changes.

Required Methods§

Source

fn record(&self, kind: &str, payload: Value)

Record kind with payload.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ProxyAudit for ChainAudit

Available on crate feature exochain only.