We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 375a464 commit 128c062Copy full SHA for 128c062
dd-java-agent/appsec/src/main/java/com/datadog/appsec/gateway/AppSecRequestContext.java
@@ -232,11 +232,11 @@ public int getRaspTimeouts() {
232
233
public int getRaspError(int code) {
234
switch (code) {
235
- case -3:
+ case DD_WAF_RUN_INTERNAL_ERROR:
236
return raspInternalErrors;
237
- case -2:
+ case DD_WAF_RUN_INVALID_OBJECT_ERROR:
238
return raspInvalidObjectErrors;
239
- case -1:
+ case DD_WAF_RUN_INVALID_ARGUMENT_ERROR:
240
return raspInvalidArgumentErrors;
241
default:
242
return 0;
0 commit comments