Skip to content

Commit 4cb16a3

Browse files
committed
Adding NVD api key to fix CVEs scanning issue
1 parent b3e8bdd commit 4cb16a3

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/cve-scanning-gradle.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ jobs:
2323
- name: Build with Gradle
2424
run: ./gradlew build
2525
- name: CVEs
26-
run: ./gradlew dependencyCheckAggregate
27-
26+
run: ./gradlew dependencyCheckAggregate -DnvdApiKey=${{ secrets.NVD_API_KEY }} -DnvdApiDelay=5000

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
3-
id "org.owasp.dependencycheck" version "9.0.9"
3+
id "org.owasp.dependencycheck" version "12.1.3"
44
}
55

66
ext.projectVersion = '3.2.0-SNAPSHOT'

0 commit comments

Comments
 (0)