diff --git a/deny.toml b/deny.toml index 0ba1ef9..19dc575 100644 --- a/deny.toml +++ b/deny.toml @@ -9,6 +9,8 @@ allow = [ "Unlicense", "Zlib", "Unicode-3.0", + "BSD-3-Clause", + "ISC", ] confidence-threshold = 0.8 diff --git a/ghost-core/src/yara_engine.rs b/ghost-core/src/yara_engine.rs index bff2506..2aaae76 100644 --- a/ghost-core/src/yara_engine.rs +++ b/ghost-core/src/yara_engine.rs @@ -179,14 +179,13 @@ impl DynamicYaraEngine { }); } - self.compiled_rules = - Some( - compiler - .compile_rules() - .map_err(|e| GhostError::Configuration { - message: format!("Rule compilation failed: {}", e), - })?, - ); + self.compiled_rules = Some( + compiler + .compile_rules() + .map_err(|e| GhostError::Configuration { + message: format!("Rule compilation failed: {}", e), + })?, + ); log::info!("Successfully compiled {} YARA rules", rule_count); Ok(rule_count)