mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
28 lines
No EOL
477 B
GraphQL
28 lines
No EOL
477 B
GraphQL
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]
|
|
}
|
|
|
|
type Query {
|
|
CVEListForImage(image: String!) :CVEResultForImage
|
|
ImageListForCVE(id: String!) :[ImgResultForCVE]
|
|
} |