Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
Base is a base struct
func (Base) CheckIfGostFetched ¶
CheckIfGostFetched checks if oval entries are in DB by family, release.
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) FillWithGost ¶
FillWithGost 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
ConvertToModel converts gost model to vuls model
func (Microsoft) FillWithGost ¶ added in v0.6.0
FillWithGost 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) FillWithGost ¶
FillWithGost 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
ConvertToModel converts gost model to vuls model
func (RedHat) FillWithGost ¶
FillWithGost fills cve information that has in Gost