github.com/quay/claircore@v1.5.28/alpine/secdb.go (about) 1 package alpine 2 3 // Details define a package's name and relevant security fixes included in a 4 // given version. 5 type Details struct { 6 Name string `json:"name"` 7 // Fixed package version string mapped to an array of CVE ids affecting the 8 // package. 9 Secfixes map[string][]string `json:"secfixes"` 10 } 11 12 // Package wraps the Details. 13 type Package struct { 14 Pkg Details `json:"pkg"` 15 } 16 17 // SecurityDB is the security database structure. 18 type SecurityDB struct { 19 Distroversion string `json:"distroversion"` 20 Reponame string `json:"reponame"` 21 Urlprefix string `json:"urlprefix"` 22 Apkurl string `json:"apkurl"` 23 Packages []Package `json:"packages"` 24 }