Class KnownExploitedDataSource

java.lang.Object
org.owasp.dependencycheck.data.update.KnownExploitedDataSource
All Implemented Interfaces:
CachedWebDataSource

public class KnownExploitedDataSource extends Object implements CachedWebDataSource
Author:
jeremy
  • Constructor Details

    • KnownExploitedDataSource

      public KnownExploitedDataSource()
  • Method Details

    • update

      public boolean update(Engine engine) throws UpdateException
      Description copied from interface: CachedWebDataSource
      Determines 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:
      update in interface CachedWebDataSource
      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

      public boolean purge(Engine engine)
      Description copied from interface: CachedWebDataSource
      Deletes any locally cached data.
      Specified by:
      purge in interface CachedWebDataSource
      Parameters:
      engine - a reference to the dependency-check engine
      Returns:
      true if the purge was successful; otherwise false