Fix license issues in cargo-deny config and refactor YARA compiler usage
This commit is contained in:
@@ -9,6 +9,8 @@ allow = [
|
||||
"Unlicense",
|
||||
"Zlib",
|
||||
"Unicode-3.0",
|
||||
"BSD-3-Clause",
|
||||
"ISC",
|
||||
]
|
||||
confidence-threshold = 0.8
|
||||
|
||||
|
||||
@@ -179,8 +179,7 @@ impl DynamicYaraEngine {
|
||||
});
|
||||
}
|
||||
|
||||
self.compiled_rules =
|
||||
Some(
|
||||
self.compiled_rules = Some(
|
||||
compiler
|
||||
.compile_rules()
|
||||
.map_err(|e| GhostError::Configuration {
|
||||
|
||||
Reference in New Issue
Block a user