aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-hotspots.proto
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-12-04 14:33:58 +0100
committerSonarTech <sonartech@sonarsource.com>2020-01-13 20:46:26 +0100
commit7588d0515996e11f5456c59f4e45794c8bc1a1f6 (patch)
treefb768d7884159f4a7b9f298beb31c2a1130a9d5d /sonar-ws/src/main/protobuf/ws-hotspots.proto
parente13456fdb410c9938402b36a50a5462bc6597a42 (diff)
downloadsonarqube-7588d0515996e11f5456c59f4e45794c8bc1a1f6.tar.gz
sonarqube-7588d0515996e11f5456c59f4e45794c8bc1a1f6.zip
SONAR-12717 drop rule list from api/hotspots/search response
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-hotspots.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-hotspots.proto28
1 files changed, 10 insertions, 18 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-hotspots.proto b/sonar-ws/src/main/protobuf/ws-hotspots.proto
index a6d71dffee1..e6650472d04 100644
--- a/sonar-ws/src/main/protobuf/ws-hotspots.proto
+++ b/sonar-ws/src/main/protobuf/ws-hotspots.proto
@@ -31,24 +31,23 @@ message SearchWsResponse {
optional sonarqube.ws.commons.Paging paging = 1;
repeated Hotspot hotspots = 2;
repeated Component components = 3;
- repeated Rule rules = 4;
}
message Hotspot {
optional string key = 1;
optional string component = 2;
optional string project = 3;
- optional string rule = 4;
- optional string status = 5;
+ optional string securityCategory = 4;
+ optional string vulnerabilityProbability = 5;
+ optional string status = 6;
// FIXME resolution field will be added later
-// optional string resolution = 6;
- optional int32 line = 7;
- optional string message = 8;
- optional string assignee = 9;
- // SCM login of the committer who introduced the issue
- optional string author = 10;
- optional string creationDate = 11;
- optional string updateDate = 12;
+// optional string resolution = 7;
+ optional int32 line = 8;
+ optional string message = 9;
+ optional string assignee = 10;
+ optional string author = 11;
+ optional string creationDate = 12;
+ optional string updateDate = 13;
}
message Component {
@@ -59,10 +58,3 @@ message Component {
optional string longName = 5;
optional string path = 6;
}
-
-message Rule {
- optional string key = 1;
- optional string name = 2;
- optional string securityCategory = 3;
- optional string vulnerabilityProbability = 4;
-}