add configuration system with TOML support

This commit is contained in:
Adir Shitrit
2025-11-08 12:20:53 +02:00
parent 977b3e310a
commit fe3e5e3b21
3 changed files with 123 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
pub mod anomaly;
pub mod config;
pub mod detection;
pub mod ebpf;
pub mod testing;
@@ -14,6 +15,7 @@ pub mod thread;
pub mod threat_intel;
pub use anomaly::{AnomalyDetector, AnomalyScore, ProcessFeatures};
pub use config::{DetectionConfig, ProcessFilter};
pub use detection::{DetectionEngine, DetectionResult, ThreatLevel};
#[cfg(target_os = "linux")]
pub use ebpf::{EbpfDetector, EbpfEvent, EbpfError, EbpfStatistics};