Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Data transformation for the Microsoft Threat and Vulnerability Management Vulnerability Integration

After you identify the data that you want to import, the data is retrieved from the ServiceNow® Microsoft Threat and Vulnerability Management (MS TVM) application, processed through a set of data sources, and transformed in your instance.

During installation, normalized severity maps are installed in the Normalized Severity Mapping module. These maps transform imported Microsoft third-party vulnerability severity levels to standard severity levels for processing in your instance. For information about creating severity maps, see Create a Vulnerability Response severity map.

MS TVM Machines Import

The data from the imported machines is first loaded into the MS TVM Machines Import [sn_vul_msft_tvm_machines_import] table.

The MS TVM Machines Transform is used to transform the imported machines information.

Note: Changes to this transform map alter how data from the MS TVM Machines import is processed.

To access this transform map, navigate to System Import Sets > Transform Maps and search for Microsoft TVM Machines Transform.

The following table lists the transform map fields by integration.

Source fieldTarget fieldDescription
u_idsource_idUnique ID for assets. This ID maps to the source_id of the discovered item record.
u_ipaddresses.macAddressmac_addressMAC Address that is mapped from the API to the host mac address field of the cmdb_ci record.
u_ipaddresses.ipAddressip_addressIP Address field that is mapped to the IP address field of the cmdb_ci record.
u_lastseenlast_scan_dateField that maps to the last_scan_date field on the discovered item record.
u_machinetags Tags that are saved in sn_sec_cmn_host_tag. The mapping from tags to assets is saved in sn_sec_cmn_m2m_src_ci_tag.
u_osplatformosField that maps to the os field on the cmdb_ci record.
u_computerdnsnamefqdnField that maps the dnsname field from the API to the fqdn field on the cmdb_ci record.

The following transform scripts are run during the transformation process.

MS TVM Machines transform map script timing and purpose

When the script is runPurpose
onStart (when an import set has started transformation).Script that is used to initialize the values in the scope variable (sn_vul_msft_tvm) for the integration process. This script is for internal use and should not be modified or deleted.
onBefore (before an import set has completed transformation).Script that is used to update values in the host and verify whether the host exists. Based on the results, this script modifies the values in the scope variable (sn_vul_msft_tvm). This script is for internal use and should not be modified or deleted.
onComplete (when an import set has completed transformation).Script that is used to set the number of CIs created, updated, and ignored. This script is for internal use and should not be modified or deleted.

The MicrosoftTVMMachinesProcessor script include is called from the onBefore transform script. It takes the output from the Microsoft TVM machines' integration and transforms it into a CI. Any changes to this script include may alter the transformation of the Microsoft TVM machines' data in the CI and Discovered item table.

MS TVM Vulnerabilities integration

The imported vulnerabilities data is first loaded into the Microsoft TVM CVE (Vulnerabilities) Import [sn_vul_msft_tvm_vulnerabilities_import] table.

Note: Changes to this transform map alter how data from the MS TVM Vulnerabilities import is processed.

To access this transform map, navigate to System Import Sets > Transform Maps and search for the Microsoft TVM Vulnerabilities Transform.

The following table lists the transform map fields by integration.

Source fieldTarget fieldDescription
u_ididMaps to the ID column of the sn_vul_entry record.
u_severitysource_severityMaps the Severity field to the severity. The default value is 5.
u_publishedondate_publishedMaps the u_publishedon field to the published date.
u_publicexploitpublic_exploitMaps the u_publicexploit provided by the scanner to the public exploit column in the vulnerability entry table.
u_cvssv3v3_base_scoreMaps the cvssv3 score to the v3 base score in the vulnerability entry record.
u_descriptionsummaryMaps the description to the summary field in the vulnerability entry record.
u_exploitinkitmalware_kitMaps the u_exploitinkit field to the malware kit in the Exploit table.
u_exploittypestypeMaps the exploit type to the type in the Exploit table.
u_exploitverifiedis_exploit_verifiedMaps the u_exploitverified field to the verified exploit in the Exploit table.
u_exploiturisexploit_linksMaps the u_exploituris field to the exploit links in the Exploit table.

The following transform scripts are run during the transformation process.

When the script is runPurpose
onStart (when an import set has started transformation).Script that is used to initialize the values in the scope variable (sn_vul_msft_tvm) for the integration process. This script is for internal use and should not be modified or deleted.
onBefore (before an import set has completed transformation).Script that is used to create or update the values in the NVD or the third-party entry table. This script is for internal use and should not be modified or deleted.
onComplete (when an import set has completed transformation).Script that is used to set the values of the new items that were created and the items that have been updated and ignored. This script is for internal use and should not be modified or deleted.

MS TVM Recommendations import

The imported recommendation data is first loaded into the MS TVM Recommendations Import [sn_vul_msft_tvm_recom_import] table.

Note: Changes to this transform map alter how the data from the MS TVM Recommendations import is processed.

To access this transform map, navigate to System Import Sets > Transform Maps and search for MS TVM Recommendation Transform.

The following table lists the transform map fields by integration.

Source fieldTarget fieldDescription
u_recommendedvendorrecommended_vendorMaps the u_recommendedvendor field to the Vendor column.
u_weaknessesweaknessesMaps the u_weaknesses field to the Weaknesses column.
u_exposedmachinescountsrc_exposed_machines_cntMaps the u_exposedmachinescount field to the Exposed machines count column.
u_statusstatusMaps the status to the Status field in the recommendation record.
u_productnameproduct_nameMaps the u_productname field to the Product name in the recommendation record.
u_nonproductiv_impactedassetsnon_prod_impacted_assetsMaps the u_nonproductiv_impactedassets field to the Impacted assets column in the recommendation record.
u_activealertactive_alertMaps the u_activealert field to the Active alert column in the recommendation record.
u_recommendedversionrecommended_versionMaps the u_recommendedversion field to the Recommended version column in the recommendation record.
u_totalmachinecounttotal_machine_countMaps the u_totalmachinecount field to the Total machine count column in the recommendation record.
u_exposureimpactexposure_impactMaps the u_exposureimpact field to the Exposure impact column in the recommendation record.
u_recommendationnamerecommendation_nameMaps the u_recommendationname field to the Recommendation name column in the recommendation record.
u_subcategorysubcategoryMaps the u_subcategory field to the Subcategory column in the recommendation record.
u_idsource_idMaps the recommendation ID from MS TVM to the Source ID column.
u_remediationtyperemediation_typeMaps the u_remediationtype field to the Remediation type column in the recommendation record.
u_relatedcomponentrelated_componentMaps the u_relatedcomponent field to the Related component column in the recommendation record.
u_recommendedprogramrecommended_programMaps the u_recommendedprogram field to the Recommended program column in the recommendation record.
u_recommendationcategoryrecommendation_categoryMaps the u_recommendationcategory field to the Recommendation category column in the recommendation record.
u_publicexploitpublic_exploitMaps the u_publicexploit field to the Public exploit column in the recommendation record.
u_vendorvendorMaps the u_vendor field to the Vendor column in the recommendation record.
[Script]integration_instanceName of the instance from which the recommendation is imported.
[Script]sys_domainDomain in which this record is imported.

The following transform scripts are run during the transformation process.

When the script is runPurpose
onStart (when an import set has started transformation).Script that is used to initialize the values in the scope variable (sn_vul_msft_tvm) for the integration process. This script is for internal use and should not be modified or deleted.
onBefore (before an import set has completed transformation).Script that is used to update values in the recommendations and verify whether the recommendations exist. This script is for internal use and should not be modified or deleted.
onComplete (when an import set has completed transformation).Script that is used to set the values of items created, updated, and ignored. This script is for internal use and should not be modified or deleted.

MS TVM Machine Vulnerabilities import

The MS TVM Machine Vulnerabilities transform map is used to transform open and fixed vulnerabilities information that is imported from MS TVM.

Note: Changes to this transform map alter how data from the MS TVM Machine Vulnerabilities Import is processed.

To access the MS TVM Open and Fixed Vulnerabilities transform maps, navigate to System Import Sets > Transform Maps and search for the MS TVM Machine Vulnerabilities Transform.

The following table lists the transform map fields by integration.

Source fieldTarget fieldDescription
u_iddetection_keyMaps the u_id field to the Detection key column in the detection table.
u_diskpathsproofMaps the u_diskpaths field to the Proof column in the detection table.
u_registrypathsproofMaps the u_registrypaths field to the Proof column in the detection table.
u_recommendedsecurityupdateidpreferred_solutionMaps the u_recommendedsecurityupdateid field to the Preferred solution column in the vulnerable item table, if the solution exists with the same ID in the sn_vul_solution table.
u_recommendationreferencerecommendationMaps the u_recommendationreference field to the Recommendation column in the vulnerable item table.
u_cveidvulnerabilityMaps the u_cveid field to the Vulnerability column in the vulnerable item table.
u_statussource_statusMaps the u_status field to the Source status column in the detection table.
u_eventtimestamptemporal_scoreMaps the u_eventtimestamp field to the Last found column in the vulnerable item table.
u_lastseentimestamplast_seenMaps the u_lastseentimestamp field to the Last seen column in the vulnerable item table.
u_firstseentimestampfirst_seenMaps the u_firstseentimestamp field to the First seen column in the vulnerable item table.
u_recommendedsecurityupdatesolution_summaryMaps the u_recommendedsecurityupdate field to the Solution summary column in the vulnerable item table.
u_recommendedsecurityupdateurlsolution_summaryMaps the u_recommendedsecurityupdateurl field to the Solution summary column in the vulnerable item table.

The following transform scripts are run during the transformation process.

When the script is runPurpose
onStart (when an import set has started transformation).Script that is used to initialize the values in the scope variable (sn_vul_msft_tvm) for the integration process. This script is for internal use and should not be modified or deleted.
onBefore (before an import set has completed transformation).Script that is used to check if the Vulnerability Entry and Detections exist. If not, these records are created in their respective tables. This script is for internal use and should not be modified or deleted.
onComplete (when an import set has completed transformation).Script that is used to update the count of VIs and Detections as imported from MS TVM. This script is for internal use and should not be modified or deleted.