The CreatorCon Call for Content is officially open! Get started here.

Data collected for Azure and AWS Cloud Discovery

NaBian
Tera Contributor

Hi Community, 

https://www.servicenow.com/docs/bundle/zurich-it-operations-management/page/product/discovery/refere...

https://support.servicenow.com/now?id=form&table=sn_customerservice_case&sys_id=d7429d2f934bee501018...

 

For Microsoft Azure Cloud Discovery/ Microsoft Azure Cloud Discovery, how could I get the Operating System and OS Version Fields  from  Azure and AWS Cloud Discovery. Thanks

2 REPLIES 2

Pratiksha
Mega Sage
Mega Sage

You have to write extension on pattern to get that. The extension will be on Amazon AWS - Virtual Server (LP). 

 

Check this out https://www.servicenow.com/community/itom-articles/get-os-details-on-virtual-machine-instance/ta-p/3...

AJ-TechTrek
Giga Sage
Giga Sage

Hi @NaBian ,

 

Why OS fields are missing in Cloud Discovery -


* Cloud Discovery (Azure, AWS, GCP) pulls inventory details using the cloud provider APIs (Azure Resource Manager, AWS EC2 API).
* These APIs return infrastructure metadata (VM name, size, subscription, tags, region, etc.), but do not always return OS version details.
* By default:
* Azure Cloud Discovery → Populates cmdb_ci_vm_instance (not cmdb_ci_computer). OS fields often remain blank unless enriched.
* AWS Cloud Discovery → Same: metadata API may include platform (Windows/Linux) but usually not exact OS version.
So: Cloud Discovery alone will not fully populate OS & OS Version.

 

Best Practice Solutions as per my understanding
1. Enable Cloud + Agentless/Agent-based Discovery (Hybrid approach)
* Cloud Discovery brings instance metadata.
* Standard Discovery (WMI for Windows, SSH for Linux) brings detailed OS info.
* Best practice:
* Use Cloud Discovery to create/update VM instance records.
* Run normal Discovery on those same VMs (via MID Server) to enrich with OS & hardware details.
* IRE (Identification & Reconciliation Engine) merges the two sources into one CI.

 

2. Service Graph Connector (SGC) best practice
* If using SGC for AWS/Azure, you can extend the ETL Transform definition to include any additional attributes the API provides (like osType).
* Then, map those fields to cmdb_ci_computer.os and os_version.

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
 

Thank You
AJ - TechTrek with AJ - ITOM Trainer
LinkedIn:- https://www.linkedin.com/in/ajay-kumar-66a91385/
YouTube:- https://www.youtube.com/@learnitomwithaj
Topmate:- https://topmate.io/aj_techtrekwithaj (Connect for 1-1 Session)
ServiceNow Community MVP 2025