⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

AlertCallback

Trait AlertCallback 

Source
pub trait AlertCallback: Send + Sync {
    // Required method
    fn on_alert(&self, event: &AuditEvent);
}
Expand description

Trait for real-time audit alert handlers.

Implementations receive critical audit events as they occur. This enables immediate response to security-relevant events such as authentication failures and privilege escalation attempts.

Required Methods§

Source

fn on_alert(&self, event: &AuditEvent)

Called when a critical audit event is generated.

Implementors§