mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-11-09 14:39:58 +01:00
add rule parser actions
This commit is contained in:
1 parent
f74b92cf49
commit
267b42dd9e
1 file changed
+4
-4
@@ -113,13 +113,13 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
let file_path = &args[1];
|
||||
let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?;
|
||||
|
||||
let dir = &args[2];
|
||||
let dir = &args[1];
|
||||
let yml_files = list_yml_files(dir);
|
||||
let mut results = Vec::new();
|
||||
|
||||
let file_path = &args[2];
|
||||
let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?;
|
||||
|
||||
let out = &args[3];
|
||||
|
||||
for file in yml_files {
|
||||
|
||||
Reference in new issue
Block a user