File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33
33
34
34
- name : Generate DependencyCheck report
35
35
run : ./gradlew dependencyCheckAggregate
36
+ env :
37
+ ORG_GRADLE_PROJECT_OWASP_API_KEY : ${{ secrets.ORG_GRADLE_PROJECT_OWASP_API_KEY }}
36
38
- name : upload-sarif-4
37
39
uses : github/codeql-action/upload-sarif@v2
38
40
with :
39
41
sarif_file : ./build/reports/owasp-dependency-check/dependency-check-report.sarif
40
-
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ plugins {
9
9
id ' ca.cutterslade.analyze' version ' 1.9.1'
10
10
id ' io.spring.dependency-management' version ' 1.1.4' apply false
11
11
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 '
13
13
id ' com.diffplug.spotless' version ' 6.23.3'
14
14
id ' com.bmuschko.docker-spring-boot-application' version ' 9.4.0' apply false
15
15
}
@@ -201,6 +201,7 @@ allprojects {
201
201
dependencyCheck {
202
202
outputDirectory = " $buildDir /reports/owasp-dependency-check"
203
203
formats = [ReportGenerator.Format . SARIF . toString()]
204
+ nvd. apiKey = project. findProperty(" OWASP_API_KEY" )
204
205
}
205
206
206
207
def static readEnvFile (path = " .env" ) {
You can’t perform that action at this time.
0 commit comments