From e55e29f6e2632c1eef4db2d659e685a50caa10a6 Mon Sep 17 00:00:00 2001 From: Dejan Milisavljevic <130993898+dejan-milisavljevic-sonarsource@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:03:50 +0200 Subject: SONAR-22951 Use 5 levels severities for Software Impact MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Léo Geoffroy Co-authored-by: Stanislav <31501873+stanislavhh@users.noreply.github.com> Co-authored-by: Viktor Vorona Co-authored-by: OrlovAlexander <35396155+OrlovAlexander85@users.noreply.github.com> Co-authored-by: stanislavh --- .../org/sonar/server/v2/api/rule/enums/ImpactSeverityRestEnum.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/sonar-webserver-webapi-v2') diff --git a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/rule/enums/ImpactSeverityRestEnum.java b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/rule/enums/ImpactSeverityRestEnum.java index f6c7f9307e5..1ef9f7e82a0 100644 --- a/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/rule/enums/ImpactSeverityRestEnum.java +++ b/server/sonar-webserver-webapi-v2/src/main/java/org/sonar/server/v2/api/rule/enums/ImpactSeverityRestEnum.java @@ -23,9 +23,11 @@ import java.util.Arrays; import org.sonar.api.issue.impact.Severity; public enum ImpactSeverityRestEnum { + INFO(Severity.INFO), LOW(Severity.LOW), MEDIUM(Severity.MEDIUM), - HIGH(Severity.HIGH); + HIGH(Severity.HIGH), + BLOCKER(Severity.BLOCKER); private final Severity severity; -- cgit v1.2.3