Neurons for Discovery API Attributes Business Object and One-Step Action
CSM uses the Neurons for Discovery API Attributes Business Object to store the Configuration Item (CI) field name and its corresponding JSON mapping. A One-Step™ Action pulls additional data from Ivanti Neurons for Discovery, so if you make any modifications to any CIs or corresponding JSON mappings, you need to configure those changes in the One-Step Action.
The "Import Neurons Assets into Config — Not Inventoried" One-Step Action iterates through the records to build the attribute list for the URL when the API call is made. The JSON mappings are also defined in the "Step through Discovery JSON Array" action of the One-Step Action. If you add, delete, or modify any CIs, you need to configure both places.
The Neurons for Discovery API Attributes Business Object contains a special record called Field = Neurons for Discovery next page. The Automation Process uses this special record to run the One-Step Action. The results of the API call are written in the HTTP Result:field of this record. Ensure that you do not delete this record.
- There's a 3-minute timeout limit on the "Import Neurons Assets into Config — Not Inventoried" One-Step Action, so ensure you limit the number of pages per run. Configure this in the Number of Pages to Get variable in the "Set Next Page Url, Debug, Number of Pages" sub-action. We recommend you test in your environment before going to production to see what works best for your organization. The lower the Number of Pages to Get, the longer it takes to get all devices. The higher the number, the greater the chance that the One-Step Action will timeout. The default value is 150 pages.
- Set the debug variable to true so pop-up windows display as the One-Step Action steps through the actions for troubleshooting when you manually run the One-Step Action.