Skip to content

Commit

Permalink
[improve][ci] Improve OWASP dependency checks (#21817)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari authored Dec 29, 2023
1 parent 7d44297 commit b6da1f5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,12 @@ jobs:
matrix:
include:
- branch: master
- branch: branch-3.2
- branch: branch-3.1
- branch: branch-3.0
- branch: branch-2.11
- branch: branch-2.10
jdk: 11
- branch: branch-2.9
jdk: 11
- branch: branch-2.8
jdk: 11

steps:
- name: checkout
Expand Down Expand Up @@ -84,6 +81,9 @@ jobs:
- name: run OWASP Dependency Check for distribution/server (-DfailBuildOnAnyVulnerability=true)
run: mvn -B -ntp -Pmain,skip-all,skipDocker,owasp-dependency-check initialize verify -pl distribution/server -DfailBuildOnAnyVulnerability=true

- name: run OWASP Dependency Check for distribution/offloaders and distribution/io
run: mvn -B -ntp -Pmain,skip-all,skipDocker,owasp-dependency-check initialize verify -pl distribution/offloaders,distribution/io

- name: Upload OWASP Dependency Check reports
uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ flexible messaging model and an intuitive client API.</description>
<errorprone-slf4j.version>0.1.4</errorprone-slf4j.version>
<j2objc-annotations.version>1.3</j2objc-annotations.version>
<lightproto-maven-plugin.version>0.4</lightproto-maven-plugin.version>
<dependency-check-maven.version>8.2.1</dependency-check-maven.version>
<dependency-check-maven.version>9.0.7</dependency-check-maven.version>
<roaringbitmap.version>0.9.44</roaringbitmap.version>
<extra-enforcer-rules.version>1.6.1</extra-enforcer-rules.version>
<oshi.version>6.4.0</oshi.version>
Expand Down
8 changes: 8 additions & 0 deletions src/owasp-dependency-check-false-positives.xml
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,12 @@
<notes>flat_project is not used at all.</notes>
<cpe>cpe:/a:flat_project:flat</cpe>
</suppress>

<suppress>
<notes><![CDATA[
CVE-2023-36479 has been addressed in jetty-servlets-9.4.53.v20231009.jar and newer
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.eclipse\.jetty/jetty\-servlets@.*$</packageUrl>
<cve>CVE-2023-36479</cve>
</suppress>
</suppressions>

0 comments on commit b6da1f5

Please sign in to comment.