Added support for searching fixed tag given cve and an image

This commit is contained in:
Shivam Mishra
2020-08-18 23:53:04 -07:00
parent 72ae02ca4b
commit ed254159a0
7 changed files with 543 additions and 3 deletions
+12
View File
@@ -1,3 +1,5 @@
scalar Time
type CVEResultForImage {
Tag: String
CVEList: [CVE]
@@ -22,7 +24,17 @@ type ImgResultForCVE {
Tags: [String]
}
type ImgResultForFixedCVE {
Tags: [TagInfo]
}
type TagInfo {
Name: String
Timestamp: Time
}
type Query {
CVEListForImage(image: String!) :CVEResultForImage
ImageListForCVE(id: String!) :[ImgResultForCVE]
ImageListWithCVEFixed(id: String!, image: String!) :ImgResultForFixedCVE
}