mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
feat(graphql): filter CVEs by severity (#2246)
Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.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", "excludedCVE"},
|
||||
Args: []string{"image", "requestedPage", "searchedCVE", "excludedCVE", "severity"},
|
||||
ReturnType: CVEResultForImage(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user