java.lang.Object
io.github.jeremylong.openvulnerability.client.kev.KevDataFeed
All Implemented Interfaces:
DataFeed<KevCatalog>

public class KevDataFeed extends Object implements DataFeed<KevCatalog>
Data Feed for the CISA Known Exploited Vulnerabilities Catalog.
See Also:
  • Field Details

    • DEFAULT_LOCATION

      private static final String DEFAULT_LOCATION
      See Also:
    • objectMapper

      private final com.fasterxml.jackson.databind.ObjectMapper objectMapper
      Jackson object mapper.
    • httpClientSupplier

      private final HttpClientSupplier httpClientSupplier
    • downloadUrl

      private final String downloadUrl
  • Constructor Details

    • KevDataFeed

      public KevDataFeed()
      Constructs a new KEV data feed with the default location.
    • KevDataFeed

      public KevDataFeed(String downloadUrl)
      Constructs a new KEV data feed with the specified download URL.
      Parameters:
      downloadUrl - the URL to download the KEV catalog from
    • KevDataFeed

      public KevDataFeed(String downloadUrl, HttpClientSupplier httpClientSupplier)
      Constructs a new KEV data feed with the specified download URL and HTTP client supplier.
      Parameters:
      downloadUrl - the URL to download the KEV catalog from
      httpClientSupplier - the HTTP client supplier
  • Method Details