From e7e8d3b1d09da909d55752c36c26a1774772428c Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 8 Mar 2021 23:18:19 -0500 Subject: [PATCH] Combine namespace --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7377ff8..61a2dfc 100644 --- a/main.go +++ b/main.go @@ -251,7 +251,7 @@ func loadRules(c *yara.Compiler) { // Load rules from http(s) // TODO: Support archive files alongside standard yar files func loadRulesFromHttp(pkg packageurl.PackageURL, c *yara.Compiler) error { - res, err := client.Get(pkg.Type + "://" + pkg.Name) + res, err := client.Get(pkg.Type + "://" + pkg.Namespace + "/" + pkg.Name) if err != nil { return err