Skip to content

Commit 16a98d9

Browse files
authored
Merge pull request #622 from lesserwhirls/dep
Allow for the use of a NIST NVD API key
2 parents dfd72ae + 5b32f55 commit 16a98d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

buildSrc/src/main/kotlin/ds3-java-sdk-library-convention.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ dependencyCheck {
5858
// fail the build if any vulnerable dependencies are identified (CVSS score > 0)
5959
failBuildOnCVSS = 0f;
6060
suppressionFile = "project_files/owasp/dependency-check-suppression.xml"
61+
nvd.apiKey = System.getenv("NVD_API_KEY")
6162
}

libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ slf4jSimple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j
7070
# plugins used in buildSrc/
7171
#
7272
kotlinJvmPlugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlinVersion" }
73-
owaspDepCheckPlugin = { group = "org.owasp", name = "dependency-check-gradle", version = "8.4.0" }
73+
owaspDepCheckPlugin = { group = "org.owasp", name = "dependency-check-gradle", version = "10.0.3" }
7474
versionsPlugin = { group = "com.github.ben-manes", name = "gradle-versions-plugin", version = "0.47.0" }
7575

7676
[plugins]

0 commit comments

Comments
 (0)