We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c386db2 commit 935c202Copy full SHA for 935c202
apps/threat-detection/src/main/java/com/akto/threat/detection/tasks/ThreatConfigurationEvaluator.java
@@ -97,7 +97,9 @@ public String getActorId(HttpResponseParams responseParam) {
97
getThreatConfiguration();
98
String actor = SourceIPActorGenerator.instance.generate(responseParam).orElse("");
99
responseParam.setSourceIP(actor);
100
- logger.debugAndAddToDbCount("Actor ID generated: " + actor + " for response: " + responseParam.getOriginalMsg().get());
+ if (responseParam.getOriginalMsg() != null) {
101
+ logger.debugAndAddToDbCount("Actor ID generated: " + actor + " for response: " + responseParam.getOriginalMsg().get());
102
+ }
103
104
if (threatConfiguration == null) {
105
return actor;
0 commit comments