mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-23 01:13:11 +01:00
add rule parser actions
This commit is contained in:
@@ -113,13 +113,13 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||||||
std::process::exit(1);
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
let file_path = &args[1];
|
let dir = &args[1];
|
||||||
let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?;
|
|
||||||
|
|
||||||
let dir = &args[2];
|
|
||||||
let yml_files = list_yml_files(dir);
|
let yml_files = list_yml_files(dir);
|
||||||
let mut results = Vec::new();
|
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];
|
let out = &args[3];
|
||||||
|
|
||||||
for file in yml_files {
|
for file in yml_files {
|
||||||
|
|||||||
Reference in New Issue
Block a user