Combine namespace
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
542fd7c417
commit
e7e8d3b1d0
2
main.go
2
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
|
||||
|
|
Loading…
Reference in New Issue