-D is a prefix indicating that the command belongs to the group of commands to manage Device Control.
kics-control --get-device-list
This command outputs the list of devices installed on a host or connected to it, or exports a list of connected devices to a JSON file.
Command syntax
kics-control [-D] --get-device-list [--all] [--json] [--export <file>]
Arguments and keys
--all lists all connected devices.
--json lists connected devices in JSON format.
--export <file> – export the list of connected devices to a file, formatted as a list of trusted devices. You need to specify the full path to the JSON file.
kics-control --trusted-devices
The command lets you view the list of trusted devices, add and remove devices from the list, and import the list of trusted devices from a file.
Command syntax
kics-control [-D] --trusted-devices [--list] [--add <identifier>] [--delete <identifier>] [--merge|--add|--replace --file <file>]
Arguments and keys
--list – display the list of trusted devices.
--add <identifier> – add a device to the list of trusted devices by device ID or device ID mask.
--delete <identifier> – delete a device from the list of trusted devices by device ID or device ID mask.
--merge merges the lists of trusted devices. If the current list and the imported list contain entries for a device with the same ID, the existing entries are updated. For devices that are not in the current list, entries are added.
--add adds the current list of trusted devices when importing. Only entries for devices not previously on the list of devices are added to the list.
--replace replaces the current list of trusted devices. The existing list of trusted devices is replaced with the imported list.
--file <file> – import a list of trusted devices from the specified file. You need to specify the full path to the JSON file.