fetcher

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchRedHatVulnList added in v0.1.5

func FetchRedHatVulnList() (entries []models.RedhatCVEJSON, err error)

func GetRedhatCveDetailURL

func GetRedhatCveDetailURL(cveID string) (url string)

GetRedhatCveDetailURL returns CVE detail URL.

func ListAllRedhatCves

func ListAllRedhatCves(before, after string, wait int) (entries []models.RedhatEntry, err error)

ListAllRedhatCves returns the list of all CVEs from RedHat API https://access.redhat.com/documentation/en-us/red_hat_security_data_api/0.1/html-single/red_hat_security_data_api/#list_all_cves

func RetrieveMicrosoftBulletinSearch added in v0.1.5

func RetrieveMicrosoftBulletinSearch() (cves []models.MicrosoftBulletinSearch, err error)

RetrieveMicrosoftBulletinSearch :

func RetrieveMicrosoftCveDetails added in v0.1.5

func RetrieveMicrosoftCveDetails(apikey string) (cves []models.MicrosoftXML, err error)

RetrieveMicrosoftCveDetails : https://api.msrc.microsoft.com/cvrf/2017-Jan?api-version=2016-08-01

func RetrieveRedhatCveDetails

func RetrieveRedhatCveDetails(urls []string) (cves []models.RedhatCVEJSON, err error)

RetrieveRedhatCveDetails returns full CVE details from RedHat API https://access.redhat.com/documentation/en-us/red_hat_security_data_api/0.1/html-single/red_hat_security_data_api/#retrieve_a_cve

func XlsToModel added in v0.1.5

func XlsToModel(bs []byte) (cves []models.MicrosoftBulletinSearch, err error)

XlsToModel :

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL