db

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCVE

func GetCVE(cfg *ds.Config, cveid string) []string

GetCVE returns details of a specific CVE

func ListCVE

func ListCVE(cfg *ds.Config) [][]string

ListCVE lists all available CVEs from the DB

func PopulateDB

func PopulateDB(cfg *ds.Config, recordsList [][]string) error

PopulateDB populates the DB with cve data from the recordsList

func SearchCVE

func SearchCVE(cfg *ds.Config, searchText string) [][]string

SearchCVE searches for a pattern in the CVE DB

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL