aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-commons.proto8
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto2
2 files changed, 10 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto
index 7a49f67ccb1..71a564212a0 100644
--- a/sonar-ws/src/main/protobuf/ws-commons.proto
+++ b/sonar-ws/src/main/protobuf/ws-commons.proto
@@ -95,6 +95,14 @@ message TextRange {
message Flow {
repeated Location locations = 1;
+ optional string description = 2;
+ optional FlowType flowType = 3;
+}
+
+enum FlowType {
+ UNDEFINED = 0;
+ DATA = 1;
+ EXECUTION = 2;
}
message Location {
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index 15735d26244..ca76506ec2c 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -287,4 +287,6 @@ message TaintVulnerabilityLite {
message Flow {
repeated Location locations = 1;
+ optional string description = 2;
+ optional sonarqube.ws.commons.FlowType type = 3;
}