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 theuser_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 isNone
, information on the cause of the error.
Raises
Exception if the function cannot connect to Code42.