diff options
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-hotspots.proto | 28 |
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; -} |