Skip to content

Commit

Permalink
🐛 make sure network provider asset has platform id (#1803)
Browse files Browse the repository at this point in the history
noticed this while testing out another pr
  • Loading branch information
vjeffrey authored Sep 20, 2023
1 parent a3e8dfa commit f56d7a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/network/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f56d7a8

Please sign in to comment.