Documentation ¶
Index ¶
Constants ¶
View Source
const ( HazardLevelFile = "hazard_level.json" ProductFile = "product.json" VendorFile = "vendor.json" VulnTypeFile = "vuln_type.json" MinYear = 1988 MinMonth = 1 MaxMonth = 12 IncrementalUpdate = "increment" AllUpdate = "all" Specific = "specific" )
View Source
const ( VulnListSchema = "vuln-list" VulnDetailSchema = "vuln-detail" HazardLevelSchema = "hazard-level" VendorSchema = "vendor" ProductSchema = "product" VulnTypeSchema = "vuln-type" )
View Source
const ( QueryVulnList = "vuln" QueryVendor = "vendor" QueryProduct = "product" RetryNum = 5 )
View Source
const (
BoltDB = "boltdb"
)
Variables ¶
View Source
var ( ThisYear = time.Now().Year() ThisMonth, _ = utils.FormatMonth(time.Now().Month()) )
View Source
var ( Trivy bool Database string CnnvdDir string )
View Source
var ( Keyword string Retry int PageIndex int PageSize int HazardLevel string Product string Vendor string )
View Source
var Type string
Functions ¶
func GetCnnvdVuln ¶
func GetCnnvdVuln()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.