package
0.1.5
Repository: https://github.com/detectify/nvdtools.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Diff performs a diff between two Dictionaries.
LoadFeed calls loadFunc for each file in paths and returns the combined outputs in a Dictionary.
LoadJSONDictionary parses dictionary from multiple NVD vulnerability feed JSON files.
NewCache creates new Cache instance with dictionary dict.
NewIndex creates new Index from a slice of CVE entries.
NewStats creates a new Stats object.
MergeVuln combines two Vulns: resulted Vuln inherits all mutually exclusive methods (e.g.
ParseJSON parses JSON dictionary from NVD vulnerability feed.

# Constants

ChunkDescription indicates a difference in the description of a vulnerability.
ChunkScore indicates a difference in the score of a vulnerability.

# Structs

Cache caches CVEs for known CPEs.
DiffStats is the result of a diff.
MatchResult stores CVE and a slice of CPEs that matched it.
Stats contains the stats information of a NVD JSON feed.

# Interfaces

Vuln is a vulnerability interface.

# Type aliases

ChunkKind is the type of chunks produced by a diff.
Dictionary is a slice of entries.
Index maps the CPEs to the entries in the NVD feed they mentioned in.