Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertNvdCpeDictionaryToModel ¶
func ConvertNvdCpeDictionaryToModel(nvd List) (cpes []*models.CategorizedCpe, err error)
ConvertNvdCpeDictionaryToModel :
func FetchAndInsertCPE ¶
FetchAndInsertCPE : FetchAndInsertCPE
func FetchAndInsertCpeDictioanry ¶
FetchAndInsertCpeDictioanry : FetchCPE
Types ¶
type Item ¶
type Item struct { Name string `xml:"name,attr"` Cpe23Item Cpe23Item `xml:"cpe23-item"` Titles []Title `xml:"title"` }
Item has CPE information
type List ¶
type List struct {
Items []Item `xml:"cpe-item"`
}
List has cpe-item list https://nvd.nist.gov/cpe.cfm
Click to show internal directories.
Click to hide internal directories.