Skip to content

Commit

Permalink
Removed suppressions
Browse files Browse the repository at this point in the history
* added scan workflow
* added cisa to workflows
  • Loading branch information
Nikita-Smirnov-Exactpro committed Feb 28, 2025
1 parent bf2d256 commit 6ff05f5
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 39 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ jobs:
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }}
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
nvd-api-key: ${{ secrets.NVD_APIKEY }}
nvd-api-key: ${{ secrets.NVD_APIKEY }}
cisa-domain: ${{ secrets.CISA_DOMAIN }}
cisa-user: ${{ secrets.CISA_USER }}
cisa-password: ${{ secrets.CISA_PWD }}
5 changes: 4 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ jobs:
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }}
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
nvd-api-key: ${{ secrets.NVD_APIKEY }}
nvd-api-key: ${{ secrets.NVD_APIKEY }}
cisa-domain: ${{ secrets.CISA_DOMAIN }}
cisa-user: ${{ secrets.CISA_USER }}
cisa-password: ${{ secrets.CISA_PWD }}
6 changes: 4 additions & 2 deletions .github/workflows/build-sanpshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches-ignore:
- master
- version-*
- dependabot*
paths-ignore:
- README.md

Expand All @@ -19,4 +18,7 @@ jobs:
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }}
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
nvd-api-key: ${{ secrets.NVD_APIKEY }}
nvd-api-key: ${{ secrets.NVD_APIKEY }}
cisa-domain: ${{ secrets.CISA_DOMAIN }}
cisa-user: ${{ secrets.CISA_USER }}
cisa-password: ${{ secrets.CISA_PWD }}
20 changes: 0 additions & 20 deletions .github/workflows/dependabot-java-build.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Scan licenses and vulnerabilities in java project

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'

jobs:
build:
uses: th2-net/.github/.github/workflows/compound-java-scan.yml@main
secrets:
nvd-api-key: ${{ secrets.NVD_APIKEY }}
cisa-domain: ${{ secrets.CISA_DOMAIN }}
cisa-user: ${{ secrets.CISA_USER }}
cisa-password: ${{ secrets.CISA_PWD }}
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ protobuf {
### 3.8.0

* Updated libs:
* bom: `4.10.0`
* Added suppressions:
* CVE-2025-25193 - This vulnerability does not affect us because this library don’t use netty for reading environment files.
* CVE-2025-24970 - this library doesn’t use SSL.
* bom: `4.11.0`
* Updated plugins:
* org.owasp.dependencycheck: `12.1.0`

Expand Down
11 changes: 0 additions & 11 deletions suppressions.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- FIXME: find out approach to solve problem when any artifact with grpc word in name is marked as cpe:/a:grpc:grpc -->
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
<suppress>
<notes><![CDATA[file name: netty-common-4.1.117.Final.jar]]></notes>
<packageUrl regex="true">^pkg:maven/io\.netty/netty-common@.*$</packageUrl>
<vulnerabilityName>CVE-2025-25193</vulnerabilityName>
</suppress>
<suppress>
<notes><![CDATA[file name: netty-handler-4.1.117.Final.jar]]></notes>
<packageUrl regex="true">^pkg:maven/io\.netty/netty-handler@.*$</packageUrl>
<vulnerabilityName>CVE-2025-24970</vulnerabilityName>
</suppress>
</suppressions>

0 comments on commit 6ff05f5

Please sign in to comment.