for Amazon Linux image (#896)

* fit amazon linux image's version to OVAL

* add Arch to SrcPackage

* lint go.mod

* make fmt
This commit is contained in:
Tomoya Amachi
2019-09-06 10:34:14 +09:00
committed by Kota Kanbe
parent b7ca5e5590
commit af58122c91
4 changed files with 18 additions and 6 deletions

View File

@@ -233,6 +233,7 @@ func getDefsByPackNameFromOvalDB(driver db.DB, r *models.ScanResult) (relatedDef
packName: pack.Name,
binaryPackNames: pack.BinaryNames,
versionRelease: pack.Version,
arch: pack.Arch,
isSrcPack: true,
})
}