mirror of
https://github.com/project-zot/zot.git
synced 2025-01-13 22:50:38 -05:00
519ea75d9a
``` Usage: zot images [config-name] [flags] Flags: -d, --digest string List images containing a specific manifest, config, or layer digest [...] ```
46 lines
No EOL
797 B
GraphQL
46 lines
No EOL
797 B
GraphQL
scalar Time
|
|
|
|
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 ImgResultForFixedCVE {
|
|
Tags: [TagInfo]
|
|
}
|
|
|
|
type ImgResultForDigest {
|
|
Name: String
|
|
Tags: [String]
|
|
}
|
|
|
|
type TagInfo {
|
|
Name: String
|
|
Timestamp: Time
|
|
}
|
|
|
|
type Query {
|
|
CVEListForImage(image: String!) :CVEResultForImage
|
|
ImageListForCVE(id: String!) :[ImgResultForCVE]
|
|
ImageListWithCVEFixed(id: String!, image: String!) :ImgResultForFixedCVE
|
|
ImageListForDigest(id: String!) :[ImgResultForDigest]
|
|
} |