From 5ab70d8e56c353859da0ef67c005c65cb1bb0530 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Tue, 28 Nov 2023 16:00:18 +0200 Subject: [PATCH] Fix assign bug to list #1035 --- xray/commands/scan/scan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray/commands/scan/scan.go b/xray/commands/scan/scan.go index 7c8976638..21e0ae968 100644 --- a/xray/commands/scan/scan.go +++ b/xray/commands/scan/scan.go @@ -486,7 +486,7 @@ func cveListFromVulnerabilities(flatResults []services.ScanResponse) []string { } } if !slices.Contains(technologiesList, vulnerability.Technology) && (vulnerability.Technology != "") { - cveList = append(technologiesList, vulnerability.Technology) + technologiesList = append(technologiesList, vulnerability.Technology) } } }