From 7ed21ebb98a70d3b909219f3a12b35aece582bb9 Mon Sep 17 00:00:00 2001 From: Preslav Date: Sat, 17 Feb 2024 11:09:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Do=20not=20set=20provider=20ids?= =?UTF-8?q?=20for=20MS365=20root=20assets.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Preslav --- providers/ms365/provider/provider.go | 1 - 1 file changed, 1 deletion(-) diff --git a/providers/ms365/provider/provider.go b/providers/ms365/provider/provider.go index 68c2e46b88..3f894e5626 100644 --- a/providers/ms365/provider/provider.go +++ b/providers/ms365/provider/provider.go @@ -148,7 +148,6 @@ func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallba } func (s *Service) detect(asset *inventory.Asset, conn *connection.Ms365Connection) error { - asset.PlatformIds = append(asset.PlatformIds, conn.PlatformId()) asset.Platform = &inventory.Platform{ Name: "ms365", Runtime: "ms365",