From 20d4a7e7cbabc399f46e73f0341a676bf7c7aec6 Mon Sep 17 00:00:00 2001 From: Preslav Date: Thu, 28 Sep 2023 17:23:05 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20okta=20asset=20name.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- providers/okta/provider/provider.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/okta/provider/provider.go b/providers/okta/provider/provider.go index 48dc560590..e3687c61f1 100644 --- a/providers/okta/provider/provider.go +++ b/providers/okta/provider/provider.go @@ -162,8 +162,7 @@ func (s *Service) connect(req *plugin.ConnectReq, callback plugin.ProviderCallba func (s *Service) detect(asset *inventory.Asset, conn *connection.OktaConnection) error { asset.Id = conn.Conf.Type - asset.Name = conn.Conf.Host - + asset.Name = "Okta Organization " + conn.OrganizationID() asset.Platform = &inventory.Platform{ Name: "okta-org", Family: []string{"okta"},