From f56d7a8c4440455d471d88d6581c61df487c3103 Mon Sep 17 00:00:00 2001 From: vjeffrey Date: Wed, 20 Sep 2023 00:43:41 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20make=20sure=20network=20provider?= =?UTF-8?q?=20asset=20has=20platform=20id=20(#1803)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit noticed this while testing out another pr --- providers/network/provider/provider.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/network/provider/provider.go b/providers/network/provider/provider.go index 92191bbd55..32ad0c437d 100644 --- a/providers/network/provider/provider.go +++ b/providers/network/provider/provider.go @@ -180,6 +180,8 @@ func (s *Service) detect(asset *inventory.Asset, conn *connection.HostConnection Title: "Network API", } + asset.PlatformIds = []string{"//platformid.api.mondoo.app/runtime/network/host/" + conn.Conf.Host} + return nil }