Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillCVEsWithRedHat ¶ added in v0.15.10
func FillCVEsWithRedHat(r *models.ScanResult, cnf config.GostConf) error
FillCVEsWithRedHat fills CVE detailed with Red Hat Security
Types ¶
type Client ¶
type Client interface {
DetectUnfixed(*models.ScanResult, bool) (int, error)
}
Client is the interface of OVAL client.
type DBDriver ¶ added in v0.15.10
type DBDriver struct { DB db.DB Cnf config.VulnDictInterface }
DBDriver is a DB Driver
type Debian ¶
type Debian struct {
Base
}
Debian is Gost client for Debian GNU/Linux
func (Debian) ConvertToModel ¶
func (deb Debian) ConvertToModel(cve *gostmodels.DebianCVE) *models.CveContent
ConvertToModel converts gost model to vuls model
func (Debian) DetectUnfixed ¶ added in v0.9.1
DetectUnfixed fills cve information that has in Gost
type Microsoft ¶ added in v0.6.0
type Microsoft struct {
Base
}
Microsoft is Gost client for windows
func (Microsoft) ConvertToModel ¶ added in v0.6.0
func (ms Microsoft) ConvertToModel(cve *gostmodels.MicrosoftCVE) (*models.CveContent, []models.Mitigation)
ConvertToModel converts gost model to vuls model
func (Microsoft) DetectUnfixed ¶ added in v0.9.1
DetectUnfixed fills cve information that has in Gost
type Pseudo ¶
type Pseudo struct {
Base
}
Pseudo is Gost client except for RedHat family and Debian
func (Pseudo) DetectUnfixed ¶ added in v0.9.1
DetectUnfixed fills cve information that has in Gost
type RedHat ¶
type RedHat struct {
Base
}
RedHat is Gost client for RedHat family linux
func (RedHat) ConvertToModel ¶
func (red RedHat) ConvertToModel(cve *gostmodels.RedhatCVE) (*models.CveContent, []models.Mitigation)
ConvertToModel converts gost model to vuls model
func (RedHat) DetectUnfixed ¶ added in v0.9.1
DetectUnfixed fills cve information that has in Gost