From 72d8dda3c475837e477b3e84dddb6e7da53f220d Mon Sep 17 00:00:00 2001 From: jinsol24 Date: Tue, 11 Nov 2025 18:10:20 +0900 Subject: [PATCH] Add handling for single malicious event and prevent duplicate ai_group_id creation --- src/es_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/es_client.py b/src/es_client.py index 48b5f17..ebd68d9 100644 --- a/src/es_client.py +++ b/src/es_client.py @@ -5,7 +5,7 @@ def fetch_malicious_events(es_client, preprocessors, target_index_date_str): """ Elasticsearch에서 '악성' 이벤트를 조회하여 - 1. 모델 저앙용 DataFrame + 1. 모델 저장장용 DataFrame 2. 저장용 원본 문서(dict) 리스트 를 반환 """