Skip to main content

Instructor, no.

Incydr Professional, Enterprise, Horizon, and Gov F2, yes.

Incydr Basic, Advanced, and Gov F1, yes.

HOME
GETTING STARTED
RELEASE NOTES
FAQs
APIs
SYSTEM STATUS
Code42 Support

Code42 Search devices

The following describes the Code42: Search devices custom function in Code42 for Resilient. Input parameters are required unless noted. For more information, see Code42 for IBM Resilient customization settings.

Code42: Search devices

This function searches for a device by a given user ID and/or hostname.

Input parameters
  • code42_device_user_uid  (Optional, Text): The user's unique identifier.  See the user_uid in the user details returned by the Get user by username function. 
  • code42_hostname (Optional, Text): Either the name assigned to a device by Code42, the name of the device as reported by the operating system, or the globally unique identifier of the device. 
Output
  • result  (list): List of devices. See the Example Response Body in the API Documentation for syntax. 
  • error (str): If result is None, information on the cause of the error.
​​​​​​Raises

Exception if the function cannot connect to Code42.

  • Was this article helpful?