Browse Source

Adding nvdApiKey property so we can get rid of the NDA warning.

Set your NVD API Key as an environment variable:
NVD_API_KEY=<api key>

Get your own API Key at
https://nvd.nist.gov/developers/request-an-api-key
Zoey76 1 year ago
parent
commit
37ea166a09
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pom.xml

+ 1 - 0
pom.xml

@@ -86,6 +86,7 @@
 				<configuration>
 					<failBuildOnCVSS>8</failBuildOnCVSS>
 					<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
+					<nvdApiKey>${env.NVD_API_KEY}</nvdApiKey>
 				</configuration>
 				<executions>
 					<execution>