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:
LaurentiuNiculae
2024-01-19 22:59:42 +02:00
committed by GitHub
parent 355b1eea4c
commit 3f97f878fd
12 changed files with 135 additions and 62 deletions
+1 -1
View File
@@ -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(),
}
}