Skip to content

Commit 2aa65b3

Browse files
authored
fix(fp): Improve false positive suppression for matches against golang web_project (#8059)
Signed-off-by: Chad Wilson <[email protected]>
1 parent a574ca6 commit 2aa65b3

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

core/src/main/resources/dependencycheck-base-suppression.xml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@
681681
62. cpe:/a:pivotal_software:rabbitmq is software build in Erlang #4178
682682
63. cpe:/a:saml_project:saml is a SAML implementation in Go #5167
683683
64. cpe:/a:yaml_project:yaml is a YAML implementation in Go #5233 and #5234
684+
65. cpe:/a:web_project:web is a Web Server library in Go
684685
]]></notes>
685686
<filePath regex="true">.*(\.(dll|jar|ear|war|pom|nupkg|nuspec|aar)|pom\.xml|package.json|packages.config)$</filePath>
686687
<cpe>cpe:/a:sandbox:sandbox</cpe>
@@ -747,6 +748,7 @@
747748
<cpe>cpe:/a:pivotal_software:rabbitmq</cpe>
748749
<cpe regex="true">cpe:/a:saml(_project)?:saml.*</cpe>
749750
<cpe regex="true">cpe:/a:yaml(_project)?:yaml.*</cpe>
751+
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
750752
</suppress>
751753
<suppress base="true">
752754
<notes><![CDATA[
@@ -5830,9 +5832,9 @@
58305832
</suppress>
58315833
<suppress base="true">
58325834
<notes><![CDATA[
5833-
FP per issue #5462
5835+
hand-curated better suppression FP per issue #5462, #6369, #6906 (and others)
58345836
]]></notes>
5835-
<packageUrl regex="true">^pkg:maven/org\.apache\.ws\.commons\.axiom/axiom-impl@.*$</packageUrl>
5837+
<packageUrl regex="true">^pkg:(?!golang/github.com/ecnepsnai/web).*$</packageUrl>
58365838
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
58375839
</suppress>
58385840
<suppress base="true">
@@ -6577,13 +6579,6 @@
65776579
</suppress>
65786580
<suppress base="true">
65796581
<notes><![CDATA[
6580-
FP per issue #6369
6581-
]]></notes>
6582-
<packageUrl regex="true">^pkg:maven/org\.wildfly\.security\.elytron-web/undertow-server@.*$</packageUrl>
6583-
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
6584-
</suppress>
6585-
<suppress base="true">
6586-
<notes><![CDATA[
65876582
FP per issue #6368
65886583
]]></notes>
65896584
<packageUrl regex="true">^pkg:maven/org\.jgroups\.azure/jgroups-azure@.*$</packageUrl>
@@ -6878,13 +6873,6 @@
68786873
<packageUrl regex="true">^pkg:maven/io\.pivotal\.cfenv/java-cfenv-boot@.*$</packageUrl>
68796874
<cpe>cpe:/a:vmware:spring_boot</cpe>
68806875
</suppress>
6881-
<suppress base="true">
6882-
<notes><![CDATA[
6883-
FP per issue #6906
6884-
]]></notes>
6885-
<packageUrl regex="true">^pkg:maven/org\.jeecgframework/autopoi-web@.*$</packageUrl>
6886-
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
6887-
</suppress>
68886876
<suppress base="true">
68896877
<notes><![CDATA[
68906878
FP per issue #6901

0 commit comments

Comments
 (0)