Fixes suppression file

This commit is contained in:
Lukasz Lenart
2018-02-26 09:27:26 +01:00
parent 7619ed3076
commit b4ca6ceec9
2 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -314,7 +314,7 @@
<version>3.1.1</version>
<configuration>
<suppressionFiles>
<suppressionFile>${project.basedir}/src/etc/project-suppression.xml</suppressionFile>
<suppressionFile>src/etc/project-suppression.xml</suppressionFile>
</suppressionFiles>
<failBuildOnCVSS>7</failBuildOnCVSS>
<skipProvidedScope>true</skipProvidedScope>
+14 -7
View File
@@ -22,15 +22,22 @@
<notes><![CDATA[
This suppresses false positives identified on Struts Annotations.
]]></notes>
<gav regex="true">org\.apache\.struts:struts\-annotations\:1\.0\.6</gav>
<gav regex="true">org\.apache\.struts:struts\-annotations\:1\.0\.6.*$</gav>
<cpe>cpe:/a:apache:struts:1.0.6</cpe>
</suppress>
<suppress>
<notes><![CDATA[
This suppresses false positives identified on Struts 1.
]]></notes>
<gav regex="true">org\.apache\.struts\:struts\-*:1\.3\.8</gav>
<cpe>cpe:/a:apache:struts:1.3.8</cpe>
<cpe>cpe:/a:apache:tiles:1.3.8</cpe>
<notes><![CDATA[file name: struts-core-1.3.8.jar]]></notes>
<gav regex="true">^org\.apache\.struts:struts\-core\:1\.3\.8.*$</gav>
<cpe>cpe:/a:apache:struts</cpe>
</suppress>
<suppress>
<notes><![CDATA[file name: struts-tiles-1.3.8.jar]]></notes>
<gav regex="true">^org\.apache\.struts:struts\-tiles\:1\.3\.8.*$</gav>
<cpe>cpe:/a:apache:struts</cpe>
</suppress>
<suppress>
<notes><![CDATA[file name: struts-taglib-1.3.8.jar]]></notes>
<gav regex="true">^org\.apache\.struts:struts\-taglib\:1\.3\.8.*$</gav>
<cpe>cpe:/a:apache:struts</cpe>
</suppress>
</suppressions>