Attack Type为Custom Attack Type时,Conditions的值有误,解决pom依赖冲突

This commit is contained in:
wangkuan
2024-08-16 10:07:24 +08:00
parent e4985618e1
commit 79e23c1000
2 changed files with 19 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ public class DosDetectionFunction extends ProcessFunction<DosSketchLog, DosEvent
}
}
else{
finalResult = getResult(value,0,0,Severity.MAJOR,0.0,0,"DoS Protection [12]");
finalResult = getResult(value,0,0,Severity.MAJOR,0.0,0,"DoS Protection ["+value.getRule_id()+"]");
}
} catch(Exception e){
logger.error("判定失败\n {} \n{}", value, e);