From 2d4e487fe0175e975fef423419cd1784bb6bce9b Mon Sep 17 00:00:00 2001 From: Hans Aikema Date: Sun, 8 Sep 2024 13:02:42 +0200 Subject: [PATCH] fix: Fixup the missing addition of NVD API Datafeed credentials (if configured) --- .../main/java/org/owasp/dependencycheck/utils/Downloader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/src/main/java/org/owasp/dependencycheck/utils/Downloader.java b/utils/src/main/java/org/owasp/dependencycheck/utils/Downloader.java index 11760ffe44c..97ecb7b5b33 100644 --- a/utils/src/main/java/org/owasp/dependencycheck/utils/Downloader.java +++ b/utils/src/main/java/org/owasp/dependencycheck/utils/Downloader.java @@ -153,6 +153,7 @@ public void configure(Settings settings) throws InvalidSettingException { tryAddHostedSuppressionCredentials(settings, credentialsProvider); tryAddKEVCredentials(settings, credentialsProvider); tryAddNexusAnalyzerCredentials(settings, credentialsProvider); + tryAddNVDApiDatafeed(settings, credentialsProvider); httpClientBuilder.setDefaultCredentialsProvider(credentialsProvider); httpClientBuilderExplicitNoproxy.setDefaultCredentialsProvider(credentialsProvider); }