feat(graphql): filter CVEs by severity (#2246)

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
This commit is contained in:
Andreea Lupu
2024-02-14 19:11:57 +02:00
committed by GitHub
parent de90abd5dc
commit 55acce6923
10 changed files with 107 additions and 52 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func DerivedImageListQuery() GQLQuery {
func CVEListForImageQuery() GQLQuery {
return GQLQuery{
Name: "CVEListForImage",
Args: []string{"image", "requestedPage", "searchedCVE", "excludedCVE"},
Args: []string{"image", "requestedPage", "searchedCVE", "excludedCVE", "severity"},
ReturnType: CVEResultForImage(),
}
}