Changing the user ID on configuration items created or modified by CNO for Visibility (Cloud Native Operations for Visibility)CNO for visibility is shipped with the store application "Agent Client Collector for Visibility". It discovers resources in Kubernetes cluster and populates the CMDB. By the default, the user_id placed in the sys_created_by and the sys_updated_by fields on those configuration items handled by CNO is 'system'. Some customers expressed their will to have a unique and different user_id placed in those fields. To achieve that, we utilize the pre/post script mechanism available both with pattern-based discovery and CNO. This mechanism allows customers to provide scripts that will be executed before and after a payload is processed by the system. We will provide a script that impersonates as the designated user before the payload is processed. How to deploy: Pick the user_id you would like to be placed in the sys_created_by and sys_updated_by fields. Make sure this user has the discovery_admin roleImport the attached XML file named sa_pattern_prepost_script_ce3fcb953b73c2d02749426aa5e45aee.xml.Navigate to "Pre Post Processing"Find the record named "Change user of CNO"Click on the record In line 7 in the script field, replace k8s_user by your designated user_idCheck the 'Active' checkbox and save the record