* chore: fix lint: revive error * chore: golanci-lint uses go 1.18 * chore: refactor tasks in GNUmakefile * chore: add trivy binary in fvuls image
		
			
				
	
	
		
			25 lines
		
	
	
		
			506 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			506 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,
 | 
						|
		},
 | 
						|
	}
 | 
						|
}
 | 
						|
 | 
						|
// FillWithOval is a mock function for operating systems that do not use OVAL
 | 
						|
func (pse Pseudo) FillWithOval(_ *models.ScanResult) (int, error) {
 | 
						|
	return 0, nil
 | 
						|
}
 |