Module emitter

Module emitter 

Source
Expand description

Global SIEM emitter manager

Provides a global SIEM emitter instance that can be accessed throughout the application for emitting security events. Similar to the global request logger pattern.

Functionsยง

emit_security_event
Emit a security event using the global SIEM emitter
emit_security_event_async
Emit a security event synchronously (spawns a task)
get_global_siem_emitter
Get the global SIEM emitter instance (for internal use)
init_global_siem_emitter
Initialize the global SIEM emitter from configuration
is_siem_emitter_initialized
Check if SIEM emitter is initialized