aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorBelen Pruvost <belen.pruvost@sonarsource.com>2022-07-20 12:40:31 +0200
committersonartech <sonartech@sonarsource.com>2022-07-25 20:03:58 +0000
commitacbd890b2e9e8cd7bd23c562026ba2f54c317af8 (patch)
tree34aa48603b0e36500f4dd8a41e6519ff89559a69 /sonar-ws
parent21ead7bd96a9dbf01603226090d10e0b7884a241 (diff)
downloadsonarqube-acbd890b2e9e8cd7bd23c562026ba2f54c317af8.tar.gz
sonarqube-acbd890b2e9e8cd7bd23c562026ba2f54c317af8.zip
SONAR-16371 - Use EnumTypes for pull issues and pull taints
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index d5ebfd2fe75..32966a90520 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -260,8 +260,8 @@ message IssueLite {
optional int64 creationDate = 2;
optional bool resolved = 3;
optional string ruleKey = 4;
- optional string userSeverity = 5;
- optional string type = 6;
+ optional sonarqube.ws.commons.Severity userSeverity = 5;
+ optional sonarqube.ws.commons.RuleType type = 6;
optional Location mainLocation = 7;
optional bool closed = 8;
}
@@ -277,8 +277,8 @@ message TaintVulnerabilityLite {
optional int64 creationDate = 2;
optional bool resolved = 3;
optional string ruleKey = 4;
- optional string severity = 5;
- optional string type = 6;
+ optional sonarqube.ws.commons.Severity severity = 5;
+ optional sonarqube.ws.commons.RuleType type = 6;
optional Location mainLocation = 7;
optional bool closed = 8;
repeated Flow flows = 9;