add statistics template

This commit is contained in:
HajimeTakai
2021-05-15 01:12:36 +09:00
parent 0064ccb4f8
commit bf1e57945b
4 changed files with 49 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ use std::{
path::PathBuf,
};
use tokio::{spawn, task::JoinHandle};
use yamato_event_analyzer::detections::configs;
use yamato_event_analyzer::{detections::configs, timeline::timeline::Timeline};
use yamato_event_analyzer::detections::detection;
use yamato_event_analyzer::detections::detection::EvtxRecordInfo;
use yamato_event_analyzer::detections::print::AlertMessage;
@@ -72,6 +72,9 @@ fn print_credits() {
fn detect_files(evtx_files: Vec<PathBuf>) {
let evnt_records = evtx_to_jsons(&evtx_files);
let mut tl = Timeline::new();
tl.start(&evnt_records);
let mut detection = detection::Detection::new();
&detection.start(evnt_records);