aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorDejan Milisavljevic <130993898+dejan-milisavljevic-sonarsource@users.noreply.github.com>2024-09-18 14:03:50 +0200
committersonartech <sonartech@sonarsource.com>2024-09-18 20:02:59 +0000
commite55e29f6e2632c1eef4db2d659e685a50caa10a6 (patch)
treec178331b8d79e523a9c3bdbbc82f611781413dbc /sonar-ws/src/main
parent7fe4eae27f3b725ea08c79d5a0373596200a1627 (diff)
downloadsonarqube-e55e29f6e2632c1eef4db2d659e685a50caa10a6.tar.gz
sonarqube-e55e29f6e2632c1eef4db2d659e685a50caa10a6.zip
SONAR-22951 Use 5 levels severities for Software Impact
Co-authored-by: Léo Geoffroy <leo.geoffroy@sonarsource.com> Co-authored-by: Stanislav <31501873+stanislavhh@users.noreply.github.com> Co-authored-by: Viktor Vorona <viktor.vorona@sonarsource.com> Co-authored-by: OrlovAlexander <35396155+OrlovAlexander85@users.noreply.github.com> Co-authored-by: stanislavh <stanislav.honcharov@sonarsource.com>
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-commons.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto
index 7fa09b59828..e999f837afd 100644
--- a/sonar-ws/src/main/protobuf/ws-commons.proto
+++ b/sonar-ws/src/main/protobuf/ws-commons.proto
@@ -121,6 +121,9 @@ enum ImpactSeverity {
LOW = 1;
MEDIUM = 2;
HIGH = 3;
+ // INFO and BLOCKER conflicts with Severity enum, so we use different values prefixed with enum name
+ ImpactSeverity_INFO = 4;
+ ImpactSeverity_BLOCKER = 5;
}
// Lines start at 1 and line offsets start at 0