Skip to main content
Version: 4.1

Integration with the Inventory Module

From an incident card, it is possible to reference an asset card in Inventory. To do this, you must enable integration with the Inventory module. To enable the integration:

  1. Go to Menu - System Settings - Developer Console
  2. Enter the following in the console:
GET .sm_settings/_search
{
"query": {
"match": {
"_meta.id": "job-scheduler"
}
}
}

As a result, the document with the Job Scheduler settings will be displayed.

  1. Copy the _id of the index displayed in the query results.
  2. Copy the _source body and create a PUT request to modify the settings, specifying the fields for matching with Inventory:
PUT .sm_settings/_doc/<copied _id value>
{
"sme-re_host": "localhost",
"sme-re_port": "18080",
"sme_user": "sme",
"sme_proto": "https",
"email_host": "",
"email_port": "",
"email_user": "",
"email_user-email": "",
"email_timeout": "",
"email_proto": "none",
"indices_timestamp": "yyyy.ww",
"incident_status_initial": "init",
"email_default_signature": "",
"_meta": {
"id": "job-scheduler",
"created": "2024-04-01T15:47:46.181068773"
},
"identity_fields": [
<field 1 from User-type assets>
<field 2 from User-type assets>
<...>
<field n from User-type assets>
],
"assets_fields": [
<field 1 from Property-type assets>
<field 2 from Property-type assets>
<...>
<field n from Property-type assets>
],
"inventory_fields": [
<field 1 from Incident Card fields>
<field 2 from Incident Card fields>
<...>
<field n from Incident Card fields>
]
}
  1. Execute the request with the new parameters

Now, when creating an incident via a search job, comparison and linking of the search job results with Inventory data will be performed.