add scan mode (#731)
This commit is contained in:
		
				
					committed by
					
						
						Kota Kanbe
					
				
			
			
				
	
			
			
			
						parent
						
							9865eab2c0
						
					
				
				
					commit
					6ed9cf3fb4
				
			@@ -391,6 +391,7 @@ func (l *base) convertToModel() models.ScanResult {
 | 
			
		||||
		JSONVersion:   models.JSONVersion,
 | 
			
		||||
		ServerName:    l.ServerInfo.ServerName,
 | 
			
		||||
		ScannedAt:     time.Now(),
 | 
			
		||||
		ScanMode:      l.ServerInfo.Mode.String(),
 | 
			
		||||
		Family:        l.Distro.Family,
 | 
			
		||||
		Release:       l.Distro.Release,
 | 
			
		||||
		Container:     container,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user