Skip to content

Commit

Permalink
Update OWASP Plugin to 11.1.1 (#1005)
Browse files Browse the repository at this point in the history
* Use new OWASP plugin version
* Use NVD_API_KEY
  • Loading branch information
dotasek authored Dec 10, 2024
1 parent cb1a5f2 commit 18287e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- run: |
- env:
NVD_API_KEY:
${{ secrets.NVD_API_KEY }}
run: |
mvn -DskipTests install -P OWASP_CHECK
- run: |
- env:
NVD_API_KEY:
${{ secrets.NVD_API_KEY }}
run: |
mvn -DskipTests dependency-check:aggregate -P OWASP_CHECK
- name: Upload SARIF file
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>8.2.1</version>
<version>11.1.1</version>
<configuration>
<nvdApiKeyEnvironmentVariable>NVD_API_KEY</nvdApiKeyEnvironmentVariable>
<suppressionFiles>
<suppressionFile>cve-suppression.xml</suppressionFile>
</suppressionFiles>
Expand Down

0 comments on commit 18287e6

Please sign in to comment.