aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r--sonar-scanner-protocol/src/main/protobuf/scanner_report.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
index e939fa8855e..75f915b9501 100644
--- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
+++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
@@ -94,6 +94,8 @@ message ComponentLink {
message Component {
int32 ref = 1;
+
+ // Path relative to module base directory
string path = 2;
string name = 3;
ComponentType type = 4;
@@ -111,6 +113,9 @@ message Component {
// Only available on PROJECT and MODULE types
string description = 12;
FileStatus status = 13;
+
+ // Path relative to project base directory
+ string project_relative_path = 14;
enum ComponentType {
UNSET = 0;