Script to copy the tags from cloud_key_value table to its custom fields in CMDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2026 02:55 AM
Hello Everyone,
The Infra team is managing tags for Cloud Hosted VM in Azure Portal and through SG-Azure, the tags are discovered either as a VM Instance or Cloud Resource.
The requirement is tags are stored in cmdb_key_value table. How to copy those tags and to get that populated in the respective attributes in the Server class.
Also, we have requested the Infra team to add the tags for On-Perm Servers? Will this proposal work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @MalathiP2130156,
You can create an business rule for copying tags to server.
I had the similar use case and I have created a business rule which runs on Key value (cmdb_key_value) table and copies tags from VM Instance record to related Server record on inser and update. Hope it helps to achieve the use case for you.
______________________________________________________________________________
Hope it helps!
