diff --git a/core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java b/core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java index c4262b95ad2..d0d3b5d8b94 100644 --- a/core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java +++ b/core/src/main/java/org/owasp/dependencycheck/data/update/NvdApiDataSource.java @@ -298,7 +298,7 @@ private boolean processApi() throws UpdateException { try { delay = settings.getLong(Settings.KEYS.NVD_API_DELAY); } catch (InvalidSettingException ex) { - LOGGER.debug("Invalid setting `NVD_API_DELAY`?"); + LOGGER.warn("Invalid setting `NVD_API_DELAY`? ({}), using default delay", settings.getString(Settings.KEYS.NVD_API_DELAY)); } if (delay > 0) { builder.withDelay(delay); diff --git a/core/src/main/resources/dependencycheck.properties b/core/src/main/resources/dependencycheck.properties index deef2848f9c..46bd43a0671 100644 --- a/core/src/main/resources/dependencycheck.properties +++ b/core/src/main/resources/dependencycheck.properties @@ -54,6 +54,7 @@ proxy.disableSchemas=true nvd.api.check.validforhours=4 nvd.api.datafeed.validfordays=7 +nvd.api.delay=0 #nvd.api.datafeed.url=https://example.com/nvd-cache/ #nvd.api.datafeed.user= #nvd.api.datafeed.password=