aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin/src
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2019-12-18 13:24:21 +0100
committerSonarTech <sonartech@sonarsource.com>2020-01-13 20:46:34 +0100
commitad3b762b7220f037e3824f39d3a8ae313ebad1e2 (patch)
tree06687108fea9511b344e77e328967374b7dd4fad /plugins/sonar-xoo-plugin/src
parent4aaebff02491ab87fec3df8e3a9b83e37ef5c963 (diff)
downloadsonarqube-ad3b762b7220f037e3824f39d3a8ae313ebad1e2.tar.gz
sonarqube-ad3b762b7220f037e3824f39d3a8ae313ebad1e2.zip
SONAR-12723 Issue/hotspots IT fixes
Diffstat (limited to 'plugins/sonar-xoo-plugin/src')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java
index cde28a44340..97aea4dc580 100644
--- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java
+++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java
@@ -176,6 +176,10 @@ public class XooRulesDefinition implements RulesDefinition {
hotspot
.addOwaspTop10(OwaspTop10.A1, OwaspTop10.A3)
.addCwe(1, 89, 123, 863);
+
+ oneVulnerabilityIssuePerModule
+ .addOwaspTop10(OwaspTop10.A1, OwaspTop10.A3)
+ .addCwe(1, 89, 123, 863);
}
repo.done();