Skip to content

Commit 19a64b5

Browse files
committed
chore: added japanese comment to process codacy ci warning.
1 parent 189de3e commit 19a64b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/detections/configs.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,9 @@ impl StoredStatic {
864864
HashMap::new()
865865
}
866866
Ok(lines) => {
867+
// 以下の形式のデータとなっていてProvide Name, EID, Detailsでの出力要素の順に記載されている
868+
// Microsoft-Windows-Sysmon, 1, Cmdline: %CommandLine% ¦ Proc: %Image% ...
869+
867870
let mut ret: HashMap<CompactString, CompactString> = HashMap::new();
868871
lines
869872
.iter()
@@ -899,6 +902,7 @@ impl StoredStatic {
899902
);
900903
}
901904
};
905+
// ProviderとEIDの組み合わせで重複することはないためキーとして利用する
902906
ret.insert(
903907
CompactString::from(format!("{provider}_{eid}")),
904908
CompactString::from(details),

0 commit comments

Comments
 (0)