diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2019-11-29 14:07:05 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-01-13 20:46:25 +0100 |
commit | 9f42cc00404d94aee0769cac6dd8bd35b71ad023 (patch) | |
tree | 6ccf2662bb0c06f131925c4822e7f1196180431e /sonar-ws | |
parent | 3821d2d07b3d299f44a643d77aec3d48fadf6c74 (diff) | |
download | sonarqube-9f42cc00404d94aee0769cac6dd8bd35b71ad023.tar.gz sonarqube-9f42cc00404d94aee0769cac6dd8bd35b71ad023.zip |
SONAR-12717 add SQ category and VulnerabilityProbability to response
also removed Rule fields from common proto which are useless in our case (status, lang and langName)
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-hotspots.proto | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-hotspots.proto b/sonar-ws/src/main/protobuf/ws-hotspots.proto index 6630860bdff..a6d71dffee1 100644 --- a/sonar-ws/src/main/protobuf/ws-hotspots.proto +++ b/sonar-ws/src/main/protobuf/ws-hotspots.proto @@ -31,7 +31,7 @@ message SearchWsResponse { optional sonarqube.ws.commons.Paging paging = 1; repeated Hotspot hotspots = 2; repeated Component components = 3; - optional sonarqube.ws.commons.Rules rules = 4; + repeated Rule rules = 4; } message Hotspot { @@ -59,3 +59,10 @@ 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; +} |