Documentation

{{docApp.title}}

{{docApp.description}}

Connect an AI assistant

Your AI assistant can read this documentation directly, so it answers from the current content instead of guessing. Add one of the servers below to your client — they use the Model Context Protocol (MCP). Each one covers a different body of content, so add the one you need.

The catalog did not load. Refresh the page to try again.

Loading…

How can we help?

{{docApp.searchError}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

 {{docApp.currentResultsSearchText}}  in {{docApp.searchFilterBySpecificBookTitle}}
Found {{docApp.searchResponse.totalResultsAvailable}} matches. Showing the top {{docApp.searchResponse.results ? docApp.searchResponse.results.length : 0}}. Use a more specific search to further narrow down the results.
No documentation pages match this search, so all content types are shown. Most matches are in {{docApp.searchDocTypeRescue.best.name}}.
There is no book with the ID "{{docApp.searchBookRescue.bid}}", so the book filter from this link was ignored and results from all books are shown.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
  • {{resultItem.title}} {{resultItem.matchedBy === 'semantic' ? 'semantic' : (resultItem.matchedBy === 'both' ? 'keyword + semantic' : 'keyword')}}

    {{resultItem.url}}

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

Configuration Example - Lansweeper Cloud

The following is an example of the SourceConfig, AssetTypes and data mapping configuration that could be used to import computer-type assets from a Lansweeper Cloud site. This means that the Keysafe Key that holds the credentials to authenticate requests to the Lansweeper Cloud API should be of type Lansweeper Cloud Authentication.

In this example, asset records found against all defined asset types will be verified using the .assetBasicInfo.name path from the Lansweeper data, and the h_name column within the Asset entity in your Hornbill instance.

Important

The configuration example is provided as-is, and may not be suitable to import your organization’s LanSweeper asset data. We highly recommend that Lansweeper Adnimistrator validates the conditions and Site ID against your LanSweeper Cloud instance before using this in a production environment.

{
  "KeysafeKeyID": 0,
  "LogSizeBytes": 1000000,
  "HornbillUserIDColumn": "h_email",
  "HornbillNotifyUsers": [
    "user",
    "admin"
  ],
  "SourceConfig": {
    "Source": "lansweepercloud",
    "LansweeperCloud": {
      "SiteID": ""
    }
  },
  "AssetTypes": [
    {
      "AssetType": "Desktop",
      "OperationType": "Both",
      "LansweeperCloudConditions": {
        "Conjunction": "AND",
        "Conditions": [
          {
            "Path": "assetBasicInfo.name",
            "Operator": "EQUAL",
            "Value": "Workstation1"
          }
        ]
      },
      "AssetIdentifier": {
        "SourceColumn": "{{.assetBasicInfo.name}}",
        "Entity": "Asset",
        "EntityColumn": "h_name",
        "SourceContractColumn": "",
        "SourceSupplierColumn": ""
      },
      "SoftwareInventory": {
        "AppIDColumn": "{{.publisher}}-{{.name}}-{{.version}}",
        "Mapping": {
          "h_app_id": "{{.publisher}}-{{.name}}-{{.version}}",
          "h_app_name": "{{.name}}",
          "h_app_vendor": "{{.publisher}}",
          "h_app_version": "{{.version}}",
          "h_app_install_date": "{{.installDate}}",
          "h_app_info": "Release: {{.release}}"
        }
      },
      "AssetTypeFieldMapping": {
        "h_name": "{{.assetBasicInfo.name}}",
        "h_mac_address": "{{.networks 0 .macAddress}}",
        "h_net_ip_address": "{{.networks 0 .ipAddressV4}}",
        "h_net_computer_name": "{{.assetCustom.dnsName}}",
        "h_net_win_domain": "{{.assetBasicInfo.domain}}",
        "h_model": "{{.assetCustom.model}}",
        "h_manufacturer": "{{.assetCustom.manufacturer}}",
        "h_description": "Imported from Lansweeper Cloud\n\n{{.assetBasicInfo.name}} - {{.assetCustom.manufacturer}} {{.assetCustom.model}}",
        "h_os_description": "{{.operatingSystem.name}}",
        "h_os_service_pack": "{{.operatingSystem.servicePackMajorVersion}}.{{.operatingSystem.servicePackMinorVersion}}",
        "h_os_version": "{{.operatingSystem.version}}",
        "h_serial_number": "{{.assetCustom.serialNumber}}",
        "h_net_name": "{{.assetCustom.dnsName}}"
      }
    }
  ],
  "AssetGenericFieldMapping": {
    "h_name": "{{.assetBasicInfo.name}}",
    "h_asset_tag": "{{.assetBasicInfo.name}}",
    "h_created_date": "{{.assetBasicInfo.firstSeen}}",
    "h_owned_by": "sometestvalue@email.com",
    "h_description": "Imported from Lansweeper Cloud\n\n{{.assetBasicInfo.name}} - {{.assetCustom.manufacturer}} {{.assetCustom.model}}",
    "h_warranty_expires": "{{.assetCustom.warrantyDate}}",
    "h_warranty_start": "{{.assetCustom.purchaseDate}}"
  }
}
In This Document