From ebf6939f8e867b8b527e1aada45dd6df1869a0af Mon Sep 17 00:00:00 2001 From: Qianlitp Date: Wed, 18 Dec 2019 18:56:38 +0800 Subject: [PATCH] =?UTF-8?q?BUG=20FIX:=20=E9=AB=98=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=9A=841100=E6=97=A5=E5=BF=97=E6=97=A0subje?= =?UTF-8?q?ct=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/detect/event_log/defense_evasion/CloseLogService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/detect/event_log/defense_evasion/CloseLogService.py b/modules/detect/event_log/defense_evasion/CloseLogService.py index 69cbe53..4efb42f 100644 --- a/modules/detect/event_log/defense_evasion/CloseLogService.py +++ b/modules/detect/event_log/defense_evasion/CloseLogService.py @@ -30,7 +30,7 @@ def _generate_alert_doc(self, **kwargs) -> dict: } doc = self._get_base_doc( level=self._get_level(), - unique_id=self._get_unique_id(self.code, self.log.subject_info.user_name), + unique_id=self._get_unique_id(self.code, self.log.dc_host_name), form_data=form_data ) return doc