From 07b4b0cb18135eaba290402b38586caba6131ebc Mon Sep 17 00:00:00 2001 From: DustInDark <2350416+hitenkoku@users.noreply.github.com> Date: Mon, 1 Aug 2022 19:44:33 +0900 Subject: [PATCH] reverted %EvtxFile% change from file path to file name --- src/detections/detection.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/detections/detection.rs b/src/detections/detection.rs index 381a7cf1..5c7e8fcc 100644 --- a/src/detections/detection.rs +++ b/src/detections/detection.rs @@ -314,8 +314,6 @@ impl Detection { profile_converter.insert( "%EvtxFile%".to_string(), Path::new(&record_info.evtx_filepath) - .file_name() - .unwrap_or_default() .to_str() .unwrap_or_default() .to_string(),