From: Revanshu Paliwal Date: Fri, 7 Oct 2022 08:29:29 +0000 (+0200) Subject: SONAR-17399 Integration test for OWASP ASVS level selector X-Git-Tag: 9.7.0.61563~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c67a5758a704837dce2f403db1e64ce704079e3c;p=sonarqube.git SONAR-17399 Integration test for OWASP ASVS level selector --- 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 c15d84a32e8..aba3b4cccca 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 @@ -253,9 +253,9 @@ public class XooRulesDefinition implements RulesDefinition { if (version != null && version.isGreaterThanOrEqual(Version.create(9, 6))) { hotspot - .addOwaspAsvs(OwaspAsvsVersion.V4_0, "3.1.1", "4.2.2"); + .addOwaspAsvs(OwaspAsvsVersion.V4_0, "2.8.7", "3.1.1", "4.2.2"); oneVulnerabilityIssuePerModule - .addOwaspAsvs(OwaspAsvsVersion.V4_0, "11.1.2", "14.5.1"); + .addOwaspAsvs(OwaspAsvsVersion.V4_0, "11.1.2", "14.5.1", "14.5.4"); } NewRule hotspotWithContexts = repo.createRule(HotspotWithContextsSensor.RULE_KEY)