aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2021-02-08 12:47:41 +0100
committersonartech <sonartech@sonarsource.com>2021-02-17 20:07:15 +0000
commitaee919a2c4faecf025e8daa506eb4d4adddcd195 (patch)
treed9f9c72dade47ee0e8a64ac63855fe6df82941d2 /sonar-ws/src
parent122edd4683e3019c8035c40c53c8813e855372f0 (diff)
downloadsonarqube-aee919a2c4faecf025e8daa506eb4d4adddcd195.tar.gz
sonarqube-aee919a2c4faecf025e8daa506eb4d4adddcd195.zip
SONAR-14442 add cweTop25 value param to 'api/security_report'
- map ES results to WS results
Diffstat (limited to 'sonar-ws/src')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
index 9e5e4bfa76a..39da2370148 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
@@ -85,6 +85,7 @@ public class IssuesWsParameters {
public static final String PARAM_TYPES = "types";
public static final String PARAM_OWASP_TOP_10 = "owaspTop10";
public static final String PARAM_SANS_TOP_25 = "sansTop25";
+ public static final String PARAM_CWE_TOP_25 = "cweTop25";
public static final String PARAM_SONARSOURCE_SECURITY = "sonarsourceSecurity";
public static final String PARAM_CWE = "cwe";
public static final String PARAM_ASSIGNED = "assigned";