From 91fd6a5814625db497ff44e2bb214d618f48c910 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 1 Mar 2024 12:32:21 +0000 Subject: [PATCH] fixes --- components/enrichers/multitool-deduplication/main.go | 5 +++++ components/producers/blackduck/main.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/components/enrichers/multitool-deduplication/main.go b/components/enrichers/multitool-deduplication/main.go index a01909a89..318142fd4 100644 --- a/components/enrichers/multitool-deduplication/main.go +++ b/components/enrichers/multitool-deduplication/main.go @@ -149,6 +149,11 @@ func enrichIssue(issue *v1.Issue, foundTool string) v1.EnrichedIssue { RawIssue: issue, } } + } else { + fmt.Println("registered new purl", issue.Target) + return v1.EnrichedIssue{ + RawIssue: issue, + } } } else if matchFilesystem.Match([]byte(issue.Target)) { return v1.EnrichedIssue{ diff --git a/components/producers/blackduck/main.go b/components/producers/blackduck/main.go index e08585f71..121c5eca3 100644 --- a/components/producers/blackduck/main.go +++ b/components/producers/blackduck/main.go @@ -33,7 +33,7 @@ func main() { log.Fatal(err) } if err := producers.WriteDraconOut( - "gosec", + "blackduck", issues, ); err != nil { log.Fatal(err)