removed unnecessary processing due to change rule path to rule file #623

This commit is contained in:
DastInDark
2022-07-19 22:20:38 +09:00
parent 591e7f18f1
commit cbf96a4743
2 changed files with 3 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
extern crate csv;
use crate::detections::configs;
use crate::detections::utils::{get_output_str_path, write_color_buffer};
use crate::detections::utils::write_color_buffer;
use termcolor::{BufferWriter, Color, ColorChoice};
use crate::detections::message::AlertMessage;
@@ -22,7 +22,7 @@ use hashbrown;
use hashbrown::HashMap;
use serde_json::Value;
use std::fmt::Write;
use std::path::{Path, PathBuf};
use std::path::{Path};
use std::sync::Arc;
use tokio::{runtime::Runtime, spawn, task::JoinHandle};