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]
|
|
|
|
}
|
|
|
|
|
|
|
|
type TagInfo {
|
|
|
|
Name: String
|
|
|
|
Timestamp: Time
|
|
|
|
}
|
|
|
|
|
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
|
2020-06-26 14:09:10 -05:00
|
|
|
}
|