Struct usiem_kernel::SiemBasicKernel
source · [−]pub struct SiemBasicKernel {
pub max_threads_parsing: u64,
pub max_threads_enchancing: u64,
pub max_threads_output: u64,
pub max_threads_rule_engine: u64,
pub command_response_timeout: i64,
/* private fields */
}
Fields
max_threads_parsing: u64
max_threads_enchancing: u64
max_threads_output: u64
max_threads_rule_engine: u64
command_response_timeout: i64
Implementations
sourceimpl SiemBasicKernel
impl SiemBasicKernel
pub fn new(
queue_size: usize,
max_threads: u64,
command_timeout: i64
) -> SiemBasicKernel
pub fn register_input_component(&mut self, component: Box<dyn SiemComponent>)
pub fn register_rule_engine_component(
&mut self,
component: Box<dyn SiemComponent>
)
pub fn register_output_component(&mut self, component: Box<dyn SiemComponent>)
pub fn register_other_component(&mut self, component: Box<dyn SiemComponent>)
pub fn register_parser_component(&mut self, component: Box<dyn SiemComponent>)
pub fn register_enricher_component(&mut self, component: Box<dyn SiemComponent>)
pub fn register_norun_component(&mut self, component: Box<dyn SiemComponent>)
pub fn register_dataset_manager(
&mut self,
component: Box<dyn SiemDatasetManager>
)
pub fn register_alert_component(&mut self, component: Box<dyn SiemComponent>)
pub fn run(&mut self)
pub fn get_metrics(&self) -> Vec<SiemMetricDefinition>
Auto Trait Implementations
impl !RefUnwindSafe for SiemBasicKernel
impl Send for SiemBasicKernel
impl !Sync for SiemBasicKernel
impl Unpin for SiemBasicKernel
impl !UnwindSafe for SiemBasicKernel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more