Skip to content

Commit

Permalink
match confidence enum
Browse files Browse the repository at this point in the history
  • Loading branch information
notshivansh committed Dec 17, 2024
1 parent efee9c4 commit 871d17b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libs/dao/src/main/java/com/akto/dto/testing/TestResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ public class TestResult extends GenericTestResult {
public static final String REQUIRES_CONFIG = "requiresConfig";
private boolean requiresConfig;

/*
* This field is being used as severity.
* Thus keeping this in sync with "enum severity".
*/
public enum Confidence {
HIGH, MEDIUM, LOW
CRITICAL,
HIGH,
MEDIUM,
LOW,
INFO
}

public enum TestError {
Expand Down

0 comments on commit 871d17b

Please sign in to comment.