Populating Assigned To attribute in Computer CI for Agent Client Collector for Visibility - Content
To update the Assigned To attribute of the Computer CI, you need to collect information from the logged in user.
Antes de Iniciar
Role required: admin
You can automatically populate Assigned to for Windows endpoint devices, like workstations or employee laptops, as part of agent-based Discovery using ACC-VC with these two system properties. See Available system properties for more information.
- sn_acc_visibility.set_assigned_to
- sn_acc_vis_content.set_assigned_to
- sn_acc_visibility.assigned_to_user_order
- sn_acc_vis_content.assigned_to_user_order
You can automatically populate Assigned to for Windows endpoint devices and macOS devices, like workstations or employee laptops, as part of agent-based Discovery using ACC-VC with the following system properties. See Available system properties for more information.
- sn_acc_visibility.set_assigned_to
- sn_acc_vis_content.set_assigned_to
- sn_acc_visibility.assigned_to_user_order
- sn_acc_vis_content.assigned_to_user_order
- sn_acc_vis.column_name_for_user_mapping
Procedimento
- wmic COMPUTERSYSTEM GET USERNAME
- From osquery: SELECT l.user FROM logged_in_users l JOIN users u ON l.sid = u.uuid WHERE u.type != 'special'
Resultado
No new user account is created in the sys_user table. Instead, the existing user is queryied and the same is referenced as Assigned To user for a CI.