add windows type (#470)
This commit is contained in:
committed by
Kota Kanbe
parent
0ba490c6df
commit
ec92f7797f
@@ -58,6 +58,9 @@ const (
|
||||
|
||||
// Raspbian is
|
||||
Raspbian = "raspbian"
|
||||
|
||||
// Windows is
|
||||
Windows = "windows"
|
||||
)
|
||||
|
||||
//Config is struct of Configuration
|
||||
|
||||
@@ -173,7 +173,7 @@ func FillWithOval(r *models.ScanResult) (err error) {
|
||||
case c.Oracle:
|
||||
ovalClient = oval.NewOracle()
|
||||
ovalFamily = c.Oracle
|
||||
case c.Amazon, c.Raspbian, c.FreeBSD:
|
||||
case c.Amazon, c.Raspbian, c.FreeBSD, c.Windows:
|
||||
return nil
|
||||
default:
|
||||
return fmt.Errorf("OVAL for %s is not implemented yet", r.Family)
|
||||
|
||||
Reference in New Issue
Block a user