Merge branch 'feature/level-tuning#390' of github.com:Yamato-Security/hayabusa into feature/level-tuning#390

This commit is contained in:
DustInDark
2022-04-07 01:56:00 +09:00
2 changed files with 4 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ impl LevelTuning {
};
file.write_all(content.as_bytes()).unwrap();
file.flush().unwrap();
println!(
"level: {} -> {}",
rule["level"].as_str().unwrap(),
@@ -145,7 +146,7 @@ mod tests {
level: high
"#;
let path = "test_files/rules/level_tuning_sample.yml";
let path = "test_files/rules/level_tuning.txt";
let mut file = File::create(path).unwrap();
let buf = rule_str.as_bytes();
file.write_all(buf).unwrap();

View File

@@ -0,0 +1,2 @@
id,next_level
12345678-1234-1234-1234-123456789012,high