Documentation ¶
Index ¶
- func FetchRedHatVulnList() (entries []models.RedhatCVEJSON, err error)
- func GetRedhatCveDetailURL(cveID string) (url string)
- func ListAllRedhatCves(before, after string, wait int) (entries []models.RedhatEntry, err error)
- func RetrieveDebianCveDetails() (cves models.DebianJSON, err error)
- func RetrieveMicrosoftBulletinSearch() (cves []models.MicrosoftBulletinSearch, err error)
- func RetrieveMicrosoftCveDetails(apikey string) (cves []models.MicrosoftXML, err error)
- func RetrieveRedhatCveDetails(urls []string) (cves []models.RedhatCVEJSON, err error)
- func XlsToModel(bs []byte) (cves []models.MicrosoftBulletinSearch, err error)
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 ¶
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 RetrieveDebianCveDetails ¶
func RetrieveDebianCveDetails() (cves models.DebianJSON, err error)
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.
Click to show internal directories.
Click to hide internal directories.