Class KnownExploitedVulnerabilityParser
- java.lang.Object
-
- org.owasp.dependencycheck.data.update.cisa.KnownExploitedVulnerabilityParser
-
public class KnownExploitedVulnerabilityParser extends java.lang.Object- Author:
- Jeremy Long
-
-
Constructor Summary
Constructors Constructor Description KnownExploitedVulnerabilityParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KnownExploitedVulnerabilitiesSchemaparse(java.io.InputStream in)Parses the CISA Known Exploited JSON file and inserts/updates data into the database.
-
-
-
Method Detail
-
parse
public KnownExploitedVulnerabilitiesSchema parse(java.io.InputStream in) throws UpdateException, CorruptedDatastreamException
Parses the CISA Known Exploited JSON file and inserts/updates data into the database.- Parameters:
in- the CISA Known Exploited JSON input stream to parse- Returns:
- the Known Exploited Vulnerabilities object
- Throws:
UpdateException- thrown if the file could not be readCorruptedDatastreamException- thrown if the file was found to be a corrupted download (ZipException or premature EOF)
-
-