Class KnownExploitedDataSource
java.lang.Object
org.owasp.dependencycheck.data.update.KnownExploitedDataSource
- All Implemented Interfaces:
CachedWebDataSource
- Author:
- jeremy
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KnownExploitedDataSource
public KnownExploitedDataSource()
-
-
Method Details
-
update
Description copied from interface:CachedWebDataSourceDetermines if an update to the current data store is needed, if it is the new data is downloaded from the Internet and imported into the current cached data store.- Specified by:
updatein interfaceCachedWebDataSource- Parameters:
engine- a reference to the dependency-check engine- Returns:
- whether or not an update was made to the CveDB
- Throws:
UpdateException- is thrown if there is an exception downloading the data or updating the data store.
-
purge
Description copied from interface:CachedWebDataSourceDeletes any locally cached data.- Specified by:
purgein interfaceCachedWebDataSource- Parameters:
engine- a reference to the dependency-check engine- Returns:
trueif the purge was successful; otherwisefalse
-