cargo fmt
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
extern crate csv;
|
extern crate csv;
|
||||||
|
|
||||||
use crate::detections::print::MESSAGES;
|
use crate::detections::print::MESSAGES;
|
||||||
use std::path::PathBuf;
|
|
||||||
use crate::detections::rule;
|
use crate::detections::rule;
|
||||||
use crate::detections::rule::RuleNode;
|
use crate::detections::rule::RuleNode;
|
||||||
use crate::yaml::ParseYaml;
|
use crate::yaml::ParseYaml;
|
||||||
use evtx::err;
|
use evtx::err;
|
||||||
use evtx::{EvtxParser, SerializedEvtxRecord};
|
use evtx::{EvtxParser, SerializedEvtxRecord};
|
||||||
use serde_json::{Error, Value};
|
use serde_json::{Error, Value};
|
||||||
|
use std::path::PathBuf;
|
||||||
|
|
||||||
const DIRPATH_RULES: &str = "rules";
|
const DIRPATH_RULES: &str = "rules";
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ fn main() {
|
|||||||
} else if configs::singleton().args.is_present("credits") {
|
} else if configs::singleton().args.is_present("credits") {
|
||||||
print_credits();
|
print_credits();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn collect_evtxfiles(dirpath: &str) -> Vec<PathBuf> {
|
fn collect_evtxfiles(dirpath: &str) -> Vec<PathBuf> {
|
||||||
@@ -60,7 +59,7 @@ fn print_credits() {
|
|||||||
fn detect_files(evtx_files: Vec<PathBuf>) {
|
fn detect_files(evtx_files: Vec<PathBuf>) {
|
||||||
let mut detection = detection::Detection::new();
|
let mut detection = detection::Detection::new();
|
||||||
&detection.start(evtx_files);
|
&detection.start(evtx_files);
|
||||||
|
|
||||||
after_fact();
|
after_fact();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user