From f2778e5d28f926533ca948813a840a2870183b63 Mon Sep 17 00:00:00 2001 From: Anthony Whitford Date: Wed, 21 Oct 2015 23:19:57 -0700 Subject: [PATCH] Adding a setting to suppress repetitive NVD checks. --- .../main/java/org/owasp/dependencycheck/utils/Settings.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java index 6e600d9db..99baefe5e 100644 --- a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java +++ b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java @@ -117,6 +117,10 @@ public final class Settings { * The properties key for the URL to retrieve the recently modified and added CVE entries (last 8 days). */ public static final String CVE_MODIFIED_VALID_FOR_DAYS = "cve.url.modified.validfordays"; + /** + * The properties key to control the skipping of the check for CVE updates. + */ + public static final String CVE_CHECK_VALID_FOR_HOURS = "cve.check.validforhours"; /** * The properties key for the telling us how many cve.url.* URLs exists. This is used in combination with CVE_BASE_URL to * be able to retrieve the URLs for all of the files that make up the NVD CVE listing.