diff --git a/Makefile b/Makefile index ebf4a863b..000f2f517 100644 --- a/Makefile +++ b/Makefile @@ -246,7 +246,7 @@ providers/install: \ providers/install/snowflake \ providers/install/mondoo \ providers/install/cloudflare \ - providers/build/nmap + providers/install/nmap providers/build/mock: providers/lr ./lr go providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr diff --git a/providers/nmap/resources/discovery.go b/providers/nmap/resources/discovery.go index 64c40117f..50721a1da 100644 --- a/providers/nmap/resources/discovery.go +++ b/providers/nmap/resources/discovery.go @@ -36,7 +36,7 @@ func Discover(runtime *plugin.Runtime, opts map[string]string) (*inventory.Inven for i := range networks { network := networks[i] - targetResource, err := runtime.CreateResource(runtime, "nmap.network ", map[string]*llx.RawData{ + targetResource, err := runtime.CreateResource(runtime, "nmap.network", map[string]*llx.RawData{ "target": llx.StringData(network), }) if err != nil {