Add JSON Version

This commit is contained in:
Kota Kanbe
2017-05-09 21:52:14 +09:00
committed by kota kanbe
parent cfb848918f
commit dd5a7920e5
2 changed files with 12 additions and 8 deletions

View File

@@ -298,6 +298,7 @@ func (l *base) convertToModel() models.ScanResult {
// }
return models.ScanResult{
JSONVersion: models.JSONVersion,
ServerName: l.ServerInfo.ServerName,
ScannedAt: time.Now(),
Family: l.Distro.Family,