Skip to content

Commit 885763b

Browse files
committed
fix(fp): Improve false positive suppression for matches against golang web_project
Signed-off-by: Chad Wilson <[email protected]>
1 parent fb96855 commit 885763b

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
@@ -674,6 +674,7 @@
674674
62. cpe:/a:pivotal_software:rabbitmq is software build in Erlang #4178
675675
63. cpe:/a:saml_project:saml is a SAML implementation in Go #5167
676676
64. cpe:/a:yaml_project:yaml is a YAML implementation in Go #5233 and #5234
677+
65. cpe:/a:web_project:web is a Web Server library in Go
677678
]]></notes>
678679
<filePath regex="true">.*(\.(dll|jar|ear|war|pom|nupkg|nuspec|aar)|pom\.xml|package.json|packages.config)$</filePath>
679680
<cpe>cpe:/a:sandbox:sandbox</cpe>
@@ -740,6 +741,7 @@
740741
<cpe>cpe:/a:pivotal_software:rabbitmq</cpe>
741742
<cpe regex="true">cpe:/a:saml(_project)?:saml.*</cpe>
742743
<cpe regex="true">cpe:/a:yaml(_project)?:yaml.*</cpe>
744+
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
743745
</suppress>
744746
<suppress base="true">
745747
<notes><![CDATA[
@@ -5851,9 +5853,9 @@
58515853
</suppress>
58525854
<suppress base="true">
58535855
<notes><![CDATA[
5854-
FP per issue #5462
5856+
hand-curated better suppression FP per issue #5462, #6369, #6906 (and others)
58555857
]]></notes>
5856-
<packageUrl regex="true">^pkg:maven/org\.apache\.ws\.commons\.axiom/axiom-impl@.*$</packageUrl>
5858+
<packageUrl regex="true">^pkg:(?!golang/github.com/ecnepsnai/web).*$</packageUrl>
58575859
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
58585860
</suppress>
58595861
<suppress base="true">
@@ -6598,13 +6600,6 @@
65986600
</suppress>
65996601
<suppress base="true">
66006602
<notes><![CDATA[
6601-
FP per issue #6369
6602-
]]></notes>
6603-
<packageUrl regex="true">^pkg:maven/org\.wildfly\.security\.elytron-web/undertow-server@.*$</packageUrl>
6604-
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
6605-
</suppress>
6606-
<suppress base="true">
6607-
<notes><![CDATA[
66086603
FP per issue #6368
66096604
]]></notes>
66106605
<packageUrl regex="true">^pkg:maven/org\.jgroups\.azure/jgroups-azure@.*$</packageUrl>
@@ -6899,13 +6894,6 @@
68996894
<packageUrl regex="true">^pkg:maven/io\.pivotal\.cfenv/java-cfenv-boot@.*$</packageUrl>
69006895
<cpe>cpe:/a:vmware:spring_boot</cpe>
69016896
</suppress>
6902-
<suppress base="true">
6903-
<notes><![CDATA[
6904-
FP per issue #6906
6905-
]]></notes>
6906-
<packageUrl regex="true">^pkg:maven/org\.jeecgframework/autopoi-web@.*$</packageUrl>
6907-
<cpe regex="true">cpe:/a:web(_project)?:web.*</cpe>
6908-
</suppress>
69096897
<suppress base="true">
69106898
<notes><![CDATA[
69116899
FP per issue #6901

0 commit comments

Comments
 (0)