Documentation ¶
Index ¶
- func FetchConvert(metas []models.FeedMeta) (cves []models.CveDetail, err error)
- func FetchLatestFeedMeta(driver db.DB, years []int) (metas []models.FeedMeta, err error)
- func ListFetchedFeeds(driver db.DB) (metas []models.FeedMeta, err error)
- func UpdateMeta(driver db.DB, metas []models.FeedMeta) error
- type CertLink
- type Cvss
- type Item
- type Meta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchConvert ¶
FetchConvert fetches vulnerability information from JVN and convert it to model
func FetchLatestFeedMeta ¶
FetchLatestFeedMeta Fetch CVE meta information from JVN
func ListFetchedFeeds ¶
ListFetchedFeeds list fetched feeds information
Types ¶
type CertLink ¶ added in v0.4.0
type CertLink struct {
Link string
}
CertLink is a structure to temporarily store reference URLs.
type Cvss ¶
type Cvss struct { Score string `xml:"score,attr"` Severity string `xml:"severity,attr"` Vector string `xml:"vector,attr"` Version string `xml:"version,attr"` }
Cvss ... CVSS
type Item ¶
type Item struct { About string `xml:"about,attr"` Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` Publisher string `xml:"publisher"` Identifier string `xml:"identifier"` References []references `xml:"references"` Cpes []cpe `xml:"cpe"` Cvsses []Cvss `xml:"cvss"` Date string `xml:"date"` Issued string `xml:"issued"` Modified string `xml:"modified"` }
Item ... http://jvndb.jvn.jp/apis/getVulnOverviewList_api.html
Click to show internal directories.
Click to hide internal directories.