Trait usiem::components::enrichment::LogEnrichment
source · pub trait LogEnrichment: DynClone + Send {
fn enrich(&self, log: SiemLog, datasets: &DatasetHolder) -> SiemLog;
fn name(&self) -> &str;
fn description(&self) -> &str;
}
Expand description
A simple object with the logic to enrich Logs
Required Methods
sourcefn enrich(&self, log: SiemLog, datasets: &DatasetHolder) -> SiemLog
fn enrich(&self, log: SiemLog, datasets: &DatasetHolder) -> SiemLog
Enrich the log with information from datasets
sourcefn description(&self) -> &str
fn description(&self) -> &str
Description of the enricher