2020-08-19 01:53:04 -05:00
|
|
|
scalar Time
|
|
|
|
|
2020-06-26 14:09:10 -05:00
|
|
|
type CVEResultForImage {
|
|
|
|
Tag: String
|
|
|
|
CVEList: [CVE]
|
|
|
|
}
|
|
|
|
|
|
|
|
type CVE {
|
|
|
|
Id: String
|
|
|
|
Title: String
|
|
|
|
Description: String
|
|
|
|
Severity: String
|
|
|
|
PackageList: [PackageInfo]
|
|
|
|
}
|
|
|
|
|
|
|
|
type PackageInfo {
|
|
|
|
Name: String
|
|
|
|
InstalledVersion: String
|
|
|
|
FixedVersion: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type ImgResultForCVE {
|
|
|
|
Name: String
|
|
|
|
Tags: [String]
|
|
|
|
}
|
|
|
|
|
2020-08-19 01:53:04 -05:00
|
|
|
type ImgResultForFixedCVE {
|
|
|
|
Tags: [TagInfo]
|
|
|
|
}
|
|
|
|
|
2021-05-26 12:22:31 -05:00
|
|
|
type ImgResultForDigest {
|
|
|
|
Name: String
|
|
|
|
Tags: [String]
|
|
|
|
}
|
|
|
|
|
2020-08-19 01:53:04 -05:00
|
|
|
type TagInfo {
|
|
|
|
Name: String
|
2021-01-25 13:04:03 -05:00
|
|
|
Digest: String
|
2020-08-19 01:53:04 -05:00
|
|
|
Timestamp: Time
|
|
|
|
}
|
|
|
|
|
2021-01-25 13:04:03 -05:00
|
|
|
type ImageInfo {
|
|
|
|
Name: String
|
|
|
|
Latest: String
|
|
|
|
LastUpdated: Time
|
|
|
|
Description: String
|
|
|
|
Licenses: String
|
|
|
|
Vendor: String
|
|
|
|
Size: String
|
|
|
|
Labels: String
|
|
|
|
}
|
|
|
|
|
2020-06-26 14:09:10 -05:00
|
|
|
type Query {
|
|
|
|
CVEListForImage(image: String!) :CVEResultForImage
|
|
|
|
ImageListForCVE(id: String!) :[ImgResultForCVE]
|
2020-08-19 01:53:04 -05:00
|
|
|
ImageListWithCVEFixed(id: String!, image: String!) :ImgResultForFixedCVE
|
2021-05-26 12:22:31 -05:00
|
|
|
ImageListForDigest(id: String!) :[ImgResultForDigest]
|
2021-01-25 13:04:03 -05:00
|
|
|
ImageListWithLatestTag:[ImageInfo]
|
|
|
|
}
|