Skip to content

Commit

Permalink
Add OWASP suppression (hapifhir#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek authored Aug 1, 2023
1 parent fd1eea7 commit 921ed91
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions owasp-suppression-file.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
<suppress>
<notes><![CDATA[
This suppresses CVEs related to a HAPI-FHIR parent pom that no longer exists in fhir-test-cases
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.hl7\.fhir\.testcases/fhir\-test\-cases@.*$</packageUrl>
<cve>CVE-2019-12741</cve>
</suppress>
<suppress>
<notes><![CDATA[
This suppresses CVEs related to a HAPI-FHIR parent pom that no longer exists in fhir-test-cases
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.hl7\.fhir\.testcases/fhir\-test\-cases@.*$</packageUrl>
<cve>CVE-2021-32053</cve>
</suppress>
</suppressions>
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,11 @@
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<suppressionFiles>
<suppressionFile>owasp-suppression-file.xml</suppressionFile>
</suppressionFiles>
</configuration>
<executions>
<execution>
<goals>
Expand Down

0 comments on commit 921ed91

Please sign in to comment.