mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
feat(cve): add option to exclude string from cve search (#2163)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ func DerivedImageListQuery() GQLQuery {
|
||||
func CVEListForImageQuery() GQLQuery {
|
||||
return GQLQuery{
|
||||
Name: "CVEListForImage",
|
||||
Args: []string{"image", "requestedPage", "searchedCVE"},
|
||||
Args: []string{"image", "requestedPage", "searchedCVE", "excludedCVE"},
|
||||
ReturnType: CVEResultForImage(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user