aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>2023-08-02 12:07:25 +0200
committersonartech <sonartech@sonarsource.com>2023-08-18 20:02:47 +0000
commitf3028f632704711d23bd27ce35bb04bd56f0b984 (patch)
tree288720d69822f7c1b20948c15689ad7e6bbc567c /sonar-scanner-protocol
parent5f96642125af3af740f79d19e299ca79dbd89545 (diff)
downloadsonarqube-f3028f632704711d23bd27ce35bb04bd56f0b984.tar.gz
sonarqube-f3028f632704711d23bd27ce35bb04bd56f0b984.zip
SONAR-20021 passing overriden impacts from analyzer to scanner report
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r--sonar-scanner-protocol/src/main/protobuf/scanner_report.proto7
1 files changed, 7 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 335df02507f..5de3e742b21 100644
--- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
+++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
@@ -201,6 +201,7 @@ message Issue {
optional string ruleDescriptionContextKey = 9;
repeated MessageFormatting msgFormatting = 10;
repeated string codeVariants = 11;
+ repeated Impact overridenImpacts = 12;
}
message ExternalIssue {
@@ -213,6 +214,7 @@ message ExternalIssue {
repeated Flow flow = 7;
IssueType type = 8;
repeated MessageFormatting msgFormatting = 9;
+ repeated Impact overridenImpacts = 10;
}
message AdHocRule {
@@ -361,3 +363,8 @@ message AnalysisWarning {
string text = 1;
int64 timestamp = 2;
}
+
+message Impact {
+ string software_quality = 1;
+ string severity = 2;
+} \ No newline at end of file