From c67a5758a704837dce2f403db1e64ce704079e3c Mon Sep 17 00:00:00 2001 From: Revanshu Paliwal Date: Fri, 7 Oct 2022 10:29:29 +0200 Subject: [PATCH] SONAR-17399 Integration test for OWASP ASVS level selector --- .../src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 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) -- 2.39.5