mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
Added support for searching fixed tag given cve and an image
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user