Documentation ¶
Index ¶
- func CheckHTTPHealth() error
- func CheckIfExploitFetched(driver db.DB, osFamily string) (fetched bool, err error)
- func CheckIfExploitFresh(driver db.DB, osFamily string) (ok bool, err error)
- func ConvertToModels(es []*exploitmodels.Exploit) (exploits []models.Exploit)
- func FillWithExploit(driver db.DB, r *models.ScanResult) (nExploitCve int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfExploitFetched ¶
CheckIfExploitFetched checks if oval entries are in DB by family, release.
func CheckIfExploitFresh ¶
CheckIfExploitFresh checks if oval entries are fresh enough
func ConvertToModels ¶ added in v0.6.2
func ConvertToModels(es []*exploitmodels.Exploit) (exploits []models.Exploit)
ConvertToModels converts gost model to vuls model
func FillWithExploit ¶
FillWithExploit fills exploit information that has in Exploit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.