summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgujinkai <[email protected]>2024-04-16 09:52:38 +0800
committergujinkai <[email protected]>2024-04-16 09:52:38 +0800
commit56063aa6a9db1bda685fd0e2691f78ea070888cf (patch)
tree2e1897988644f411c9648cde9d23d31313b75c5f
parent0206ed6e9a91104dcce0e6701b77684d6cd0a01e (diff)
fix: security event swap client_ip and server_ip
-rw-r--r--README.md12
-rw-r--r--module-CN-indicator-match/src/main/java/com/zdjizhi/schedule/indicator/functions/MatchKeySelector.java4
2 files changed, 3 insertions, 13 deletions
diff --git a/README.md b/README.md
index 9b0614d..13ee207 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1 @@
-# 版本更新内容
-## 02
-1. 知识库文件名配置化
-2. 增加ip,domain,app打标签功能
-3. 优化ETL逻辑:每个任务增加catch exception
-## 02.rc
-1. 修改知识库更新逻辑:每次更新删除旧的缓存
-2. 修改common_app_label字段的补全逻辑:直接从app_id中解析app_name字段
-3. 修复ioc检测的bug
-## 06.rc1
-1. 修改jackson为fastjson2 \ No newline at end of file
+# Cyber Narrator Stream
diff --git a/module-CN-indicator-match/src/main/java/com/zdjizhi/schedule/indicator/functions/MatchKeySelector.java b/module-CN-indicator-match/src/main/java/com/zdjizhi/schedule/indicator/functions/MatchKeySelector.java
index 278a97e..191d411 100644
--- a/module-CN-indicator-match/src/main/java/com/zdjizhi/schedule/indicator/functions/MatchKeySelector.java
+++ b/module-CN-indicator-match/src/main/java/com/zdjizhi/schedule/indicator/functions/MatchKeySelector.java
@@ -16,7 +16,7 @@ public class MatchKeySelector
public MatchGroup getKey(CnRecordLog log) throws Exception {
return new MatchGroup(
log.getRule_id_list().get(0),
- log.getCommon_server_ip(),
- log.getCommon_client_ip());
+ log.getCommon_client_ip(),
+ log.getCommon_server_ip());
}
}