diff options
author | Revanshu Paliwal <revanshu.paliwal@sonarsource.com> | 2022-10-07 10:29:29 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-10-10 20:03:09 +0000 |
commit | c67a5758a704837dce2f403db1e64ce704079e3c (patch) | |
tree | e9e39bf81d71ee250333121fcb23668a195e8eb3 /plugins | |
parent | ff7f96d059543d0b92002f26fdde3e2bf6096bdb (diff) | |
download | sonarqube-c67a5758a704837dce2f403db1e64ce704079e3c.tar.gz sonarqube-c67a5758a704837dce2f403db1e64ce704079e3c.zip |
SONAR-17399 Integration test for OWASP ASVS level selector
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java | 4 |
1 files 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) |