Skip to content

Commit

Permalink
Merge pull request #1835 from akto-api-security/hotfix/fix_result_con…
Browse files Browse the repository at this point in the history
…fidence_enum

match confidence enum
  • Loading branch information
notshivansh authored Dec 17, 2024
2 parents efee9c4 + 871d17b commit beaabda
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 beaabda

Please sign in to comment.