github.com/khulnasoft-lab/tunnel-db@v0.0.0-20231117205118-74e1113bd007/pkg/vulnsrc/debian/types.go (about) 1 package debian 2 3 type Advisory struct { 4 VulnerabilityID string 5 Platform string 6 PkgName string 7 8 VendorIDs []string 9 State string 10 Severity string 11 FixedVersion string 12 Title string 13 } 14 15 type VulnerabilityDetail struct { 16 Description string 17 } 18 19 type bucket struct { 20 codeName string 21 pkgName string 22 vulnID string // CVE-ID, DLA-ID or DSA-ID 23 severity string 24 } 25 26 type header struct { 27 ID string `json:"ID"` 28 Description string `json:"Description"` 29 } 30 31 type annotation struct { 32 Type string 33 Release string 34 Package string 35 Kind string 36 Version string 37 Description string 38 Severity string 39 Bugs []string 40 } 41 42 type bug struct { 43 Header header 44 Annotations []annotation 45 }