aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2018-06-13 10:34:09 +0200
committersonartech <sonartech@sonarsource.com>2018-07-04 09:31:04 +0200
commitb497380a7647d69e6c2cb486faccce34121da08b (patch)
treeda8eb32ecb3d969be7478b9a5007631b9a3eb4e7 /sonar-core
parent376544a07a2259a0399d7f2d179c3c1c42a443a9 (diff)
downloadsonarqube-b497380a7647d69e6c2cb486faccce34121da08b.tar.gz
sonarqube-b497380a7647d69e6c2cb486faccce34121da08b.zip
SONAR-10874 New issue transitions for security hotspots
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java1
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties16
2 files changed, 17 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java b/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java
index 125c9bd51e6..b2cf1843f24 100644
--- a/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java
+++ b/sonar-core/src/main/java/org/sonar/core/issue/DefaultIssue.java
@@ -83,6 +83,7 @@ public class DefaultIssue implements Issue, Trackable, org.sonar.api.ce.measure.
private Object locations = null;
private boolean isFromExternalRuleEngine;
+
// FUNCTIONAL DATES
private Date creationDate;
private Date updateDate;
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index fb53c1bfbde..3e0f4420b35 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -566,6 +566,8 @@ issue.comment.formlink=Comment
issue.comment.submit=Comment
issue.comment.tell_why=Please tell why?
issue.comment.delete_confirm_message=Do you want to delete this comment?
+issue.manual_vulnerability=Manual
+issue.manual_vulnerability.description=This Vulnerability was created from a Security Hotspot and has its own issue workflow.
issue.rule_details=Rule Details
issue.send_notifications=Send Notifications
issue.transition=Transition
@@ -583,6 +585,20 @@ issue.transition.close=Close
issue.transition.close.description=
issue.transition.wontfix=Resolve as won't fix
issue.transition.wontfix.description=This issue can be ignored because the rule is irrelevant in this context. Its effort won't be counted.
+issue.transition.detect=Detect
+issue.transition.detect.description=This security hotspot is actually a real vulnerability and must be fixed.
+issue.transition.dismiss=Dismiss
+issue.transition.dismiss.description=This vulnerability can't be fixed as is and needs more details from a security expert.
+issue.transition.reject=Reject
+issue.transition.reject.description=The fix has been reviewed by a security expert and the vulnerability is still there. Code must be fixed again.
+issue.transition.requestreview=Request review
+issue.transition.requestreview.description=The code has been fixed and a review by a security expert is required to confirm it.
+issue.transition.accept=Accept
+issue.transition.accept.description=The code has been fixed and the vulnerability has been removed. The issue can be closed.
+issue.transition.clear=Clear
+issue.transition.clear.description=There is no vulnerability in the code. The issue can be closed.
+issue.transition.reopenhotspot=Reopen
+issue.transition.reopenhotspot.description=This security hotspot should be analyzed again by a security expert.
issue.set_severity=Change Severity
issue.set_type=Change Type