pub trait SiemTransport: Send + Sync {
// Required method
fn send_event<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 SecurityEvent,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Trait for SIEM transport implementations
Required Methods§
Sourcefn send_event<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 SecurityEvent,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_event<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 SecurityEvent,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Send a security event to the SIEM system