Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithDataURL ¶
type Vulinfo ¶
type Vulinfo struct { VulinfoID string `xml:"VulinfoID" json:"vulinfoid,omitempty"` VulinfoData struct { Title string `xml:"Title" json:"title,omitempty"` VulinfoDescription struct { Overview string `xml:"Overview" json:"overview,omitempty"` } `xml:"VulinfoDescription" json:"vulinfodescription,omitempty"` Affected struct { AffectedItem []struct { Name string `xml:"Name" json:"name,omitempty"` ProductName string `xml:"ProductName" json:"productname,omitempty"` Cpe *struct { Text string `xml:",chardata" json:"text,omitempty"` Version string `xml:"version,attr" json:"version,omitempty"` } `xml:"Cpe" json:"cpe,omitempty"` VersionNumber []string `xml:"VersionNumber" json:"versionnumber,omitempty"` } `xml:"AffectedItem" json:"affecteditem,omitempty"` } `xml:"Affected" json:"affected,omitempty"` Impact struct { Cvss []struct { Version string `xml:"version,attr" json:"version,omitempty"` Severity struct { Text string `xml:",chardata" json:"text,omitempty"` Type string `xml:"type,attr" json:"type,omitempty"` } `xml:"Severity" json:"severity,omitempty"` Base string `xml:"Base" json:"base,omitempty"` Vector string `xml:"Vector" json:"vector,omitempty"` } `xml:"Cvss" json:"cvss,omitempty"` ImpactItem struct { Description string `xml:"Description" json:"description,omitempty"` } `xml:"ImpactItem" json:"impactitem,omitempty"` } `xml:"Impact" json:"impact,omitempty"` Solution struct { SolutionItem struct { Description string `xml:"Description" json:"description,omitempty"` } `xml:"SolutionItem" json:"solutionitem,omitempty"` } `xml:"Solution" json:"solution,omitempty"` Related struct { RelatedItem []struct { Type string `xml:"type,attr" json:"type,omitempty"` Name string `xml:"Name" json:"name,omitempty"` VulinfoID string `xml:"VulinfoID" json:"vulinfoid,omitempty"` URL string `xml:"URL" json:"url,omitempty"` Title string `xml:"Title" json:"title,omitempty"` } `xml:"RelatedItem" json:"relateditem,omitempty"` } `xml:"Related" json:"related,omitempty"` History struct { HistoryItem []struct { HistoryNo string `xml:"HistoryNo" json:"historyno,omitempty"` DateTime string `xml:"DateTime" json:"datetime,omitempty"` Description string `xml:"Description" json:"description,omitempty"` } `xml:"HistoryItem" json:"historyitem,omitempty"` } `xml:"History" json:"history,omitempty"` DateFirstPublished string `xml:"DateFirstPublished" json:"datefirstpublished,omitempty"` DateLastUpdated string `xml:"DateLastUpdated" json:"datelastupdated,omitempty"` DatePublic string `xml:"DatePublic" json:"datepublic,omitempty"` } `xml:"VulinfoData" json:"vulinfodata,omitempty"` }
Click to show internal directories.
Click to hide internal directories.