* feat(subcmds/report,server): read environment variables when configPath is "" * refactor: standardize db.NewDB to db.CloseDB * chore: clean up import * chore: error wrap * chore: update goval-dictionary * fix(oval): return Pseudo instead of nil for client * chore: fix comment * fix: lint error
24 lines
428 B
Go
24 lines
428 B
Go
package oval
|
|
|
|
import "github.com/future-architect/vuls/models"
|
|
|
|
// Pseudo is OVAL client for Windows, FreeBSD and Pseudo
|
|
type Pseudo struct {
|
|
Base
|
|
}
|
|
|
|
// NewPseudo creates OVAL client for Windows, FreeBSD and Pseudo
|
|
func NewPseudo(family string) Pseudo {
|
|
return Pseudo{
|
|
Base{
|
|
driver: nil,
|
|
baseURL: "",
|
|
family: family,
|
|
},
|
|
}
|
|
}
|
|
|
|
func (pse Pseudo) FillWithOval(_ *models.ScanResult) (int, error) {
|
|
return 0, nil
|
|
}
|