package cisa import ( "time" "github.com/pablotron/cvez/feed" ) // Vulnerability entry. type Vulnerability struct { // CVE ID. CveId feed.CveId `json:"cveID"` // Vendor or project name. VendorProject string `json:"vendorProject"` // Product name. Product string `json:"product"` // Vulnerability name. Name string `json:"vulnerabilityName"` // Date vulnerability was added to catalog. DateAdded Date `json:"dateAdded"` // Short description of vulnerability. ShortDescription string `json:"shortDescription"` // Action required to address the Vulnerability. RequiredAction string `json:"requiredAction"` // Date that required action is due. DueDate Date `json:"dueDate"` } // Known exploited vulnerabilities catalog. type Catalog struct { // Catalog title. Title string `json:"title"` // Version of the known exploited vulnerabilities catalog. Version string `json:"catalogVersion"` // Catalog release timestamp. DateReleased time.Time `json:"dateReleased"` // Total number of vulnerabilities in catalog. Count int64 `json:"count"` // Vulnerability entries. Vulnerabilities []Vulnerability `json:"vulnerabilities"` }