diff options
author | Matteo Mara <matteo.mara@sonarsource.com> | 2022-07-19 18:08:17 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-07-25 20:03:58 +0000 |
commit | 9cd44988c23e6533cbf34e5acc6d225e706f1707 (patch) | |
tree | 0a38b2a50f51400ceccf1d3b24a586a033dc9ef3 /sonar-ws | |
parent | 3ffa7edb6113b9f51b1f03396827344561953586 (diff) | |
download | sonarqube-9cd44988c23e6533cbf34e5acc6d225e706f1707.tar.gz sonarqube-9cd44988c23e6533cbf34e5acc6d225e706f1707.zip |
SONAR-17061 add PCI DSS to security reports show API
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java | 3 | ||||
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-security.proto | 1 |
2 files changed, 4 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 aee04974a89..9fb03b98b95 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 @@ -79,6 +79,9 @@ public class IssuesWsParameters { public static final String PARAM_LANGUAGES = "languages"; public static final String PARAM_TAGS = "tags"; public static final String PARAM_TYPES = "types"; + public static final String PARAM_PCI_DSS = "pciDss"; + public static final String PARAM_PCI_DSS_32 = "pciDss-3.2"; + public static final String PARAM_PCI_DSS_40 = "pciDss-4.0"; public static final String PARAM_OWASP_TOP_10 = "owaspTop10"; public static final String PARAM_OWASP_TOP_10_2021 = "owaspTop10-2021"; @Deprecated diff --git a/sonar-ws/src/main/protobuf/ws-security.proto b/sonar-ws/src/main/protobuf/ws-security.proto index 159e74094b3..da6870b886e 100644 --- a/sonar-ws/src/main/protobuf/ws-security.proto +++ b/sonar-ws/src/main/protobuf/ws-security.proto @@ -55,6 +55,7 @@ message CweStatistics { optional int64 activeRules = 8; optional int64 totalRules = 9; optional bool hasMoreRules = 10; + optional string category = 11; } |