Skip to content

Commit fe51942

Browse files
chore(deps): Bump org.owasp.dependencycheck from 8.4.3 to 9.0.2 (#492)
* chore(deps): Bump org.owasp.dependencycheck from 8.4.3 to 9.0.2 Bumps org.owasp.dependencycheck from 8.4.3 to 9.0.2. --- updated-dependencies: - dependency-name: org.owasp.dependencycheck dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: add owasp nvd api key (in gh secrets) --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Timon Back <[email protected]>
1 parent 313a676 commit fe51942

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/owasp.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ jobs:
3333

3434
- name: Generate DependencyCheck report
3535
run: ./gradlew dependencyCheckAggregate
36+
env:
37+
ORG_GRADLE_PROJECT_OWASP_API_KEY: ${{ secrets.ORG_GRADLE_PROJECT_OWASP_API_KEY }}
3638
- name: upload-sarif-4
3739
uses: github/codeql-action/upload-sarif@v2
3840
with:
3941
sarif_file: ./build/reports/owasp-dependency-check/dependency-check-report.sarif
40-

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
id 'ca.cutterslade.analyze' version '1.9.1'
1010
id 'io.spring.dependency-management' version '1.1.4' apply false
1111
id 'org.springframework.boot' version '3.2.0' apply false
12-
id 'org.owasp.dependencycheck' version '8.4.3'
12+
id 'org.owasp.dependencycheck' version '9.0.2'
1313
id 'com.diffplug.spotless' version '6.23.3'
1414
id 'com.bmuschko.docker-spring-boot-application' version '9.4.0' apply false
1515
}
@@ -201,6 +201,7 @@ allprojects {
201201
dependencyCheck {
202202
outputDirectory = "$buildDir/reports/owasp-dependency-check"
203203
formats = [ReportGenerator.Format.SARIF.toString()]
204+
nvd.apiKey = project.findProperty("OWASP_API_KEY")
204205
}
205206

206207
def static readEnvFile(path = ".env") {

0 commit comments

Comments
 (0)