Skip to main content

Crate security_events

Crate security_events 

Source
Expand description

security_events — Security logging, monitoring, and tamper-evident audit (OWASP C9).

Re-exports§

pub use audit_chain::AuditChain;
pub use correlation::attach_parent;
pub use correlation::filter_by_parent;
pub use correlation::with_parent;
pub use event::EventOutcome;
pub use event::EventValue;
pub use event::SecurityEvent;
pub use hmac::HmacError;
pub use hmac::HmacEventSigner;
pub use kind::EventKind;
pub use mobile_redaction::LogLevel;
pub use mobile_redaction::LogLevelEnforcer;
pub use mobile_redaction::MobileRedactionEngine;
pub use redact::RedactionEngine;
pub use redact::RedactionPolicy;

Modules§

audit_chain
Tamper-evident hash-linked audit chain (OWASP C9).
context
Security context for enriching events with request-scoped metadata.
correlation
Event correlation helpers for linking related security events.
detect
AppSensor-style detection points for anomaly escalation.
emit
Security event emission interface.
event
Core security event schema.
hmac
Per-event HMAC signing for tamper-evident security logs.
kind
Security event kind classifications.
layer
tracing-subscriber layer for security event processing.
mobile_redaction
Mobile-specific log sanitization for MASVS-STORAGE-2 and MASVS-CODE-2.
rate_limit
Per-kind rate limiting for security event emission.
redact
Classification-driven redaction engine.
sanitize
Log-injection sanitization helpers.
sink
Security event sink adapters.