add 7040,104 and refactor

This commit is contained in:
Kazuminn
2020-09-29 15:14:37 +09:00
parent a542406ee5
commit 9110801b0d
3 changed files with 46 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ impl Detection {
if channel == "Security" {
&security.detection(event_id, &event.system, event_data);
} else if channel == "System" {
&system.detection();
&system.detection(event_id, &event.system, event_data);
} else if channel == "Application" {
&application.detection(event_id, &event.system, event_data);
} else {