module

KEV

Constants

VERSION = "0.1.0"

Class methods

fetch(url : String = Client::DEFAULT_URL) : Catalog

Fetch the live CISA KEV catalog over HTTPS. Equivalent to KEV::Client.fetch, included at the module level for one-liners.

KEV.fetch.ransomware.size
Source
parse(input : String | IO) : Catalog

Parse a KEV catalog from a JSON string or IO. Raises KEV::ParseError on malformed input.

KEV.parse(File.read("known_exploited_vulnerabilities.json")).size
Source
parse?(input : String | IO) : Catalog | Nil

Non-raising parse — returns nil on malformed JSON or schema violations.

Source

Nested types