OBLYTECH Logo
OBLYTECH Logo

Connect Microsoft Defender for Endpoint threat and vulnerability data

A Microsoft Defender threat and vulnerability management integration imports machine, vulnerability and exploit data from Microsoft Threat and Vulnerability Management (MS TVM) into ServiceNow Vulnerability Response. The integrations are included in the Microsoft Defender Integration for Security Exposure Management application, which is available with a separate subscription from the ServiceNow Store. Setup Assistant handles installation and configuration.

What the integrations bring into your instance

The imported data feeds the Security Exposure Management dashboards. Know how these records relate before you write assignment or remediation rules.

  • Configuration item (CI). An asset that already exists in your CMDB.
  • Discovered item. A machine record from the MS TVM machine import. It links to a matching CI. When no CI matches, the asset gets a CI in the Unmatched CI class.
  • Vulnerable item. Created for each imported vulnerability. MS TVM calls the matched ones vulnerabilities.
  • Third-party vulnerability entry. A row in the Third-Party Vulnerability Entries table. Exploit information from MS TVM attaches to these entries and can feed risk calculation.
  • Integration and deployment. An integration is a scheduled job that retrieves data from a source. When an integration supports multiple sources, a single integration setup is called a deployment, and one environment can hold several deployments of MS TVM.

Install the application and add MS TVM instances in Setup Assistant

Installation and configuration both run through Setup Assistant in Vulnerability Response. The system admin uses it to install the MS TVM application. If the person who will configure the integrations does not already hold the vulnerability admin role, the admin assigns sn_vul.vulnerability_admin and any other required roles in Setup Assistant. The vulnerability admin then finishes the integration configuration.

The integrations support multiple sources. Each MS TVM account can be an instance, and you can add and deploy several instances from Setup Assistant.

  1. Download the Vulnerability Response integration with Microsoft Threat and Vulnerability Management from the ServiceNow Store and install it.
  2. Open Setup Assistant in Vulnerability Response and confirm that the configuring user has the vulnerability admin role.
  3. Have the vulnerability admin add one instance for each MS TVM account, then deploy them.

Review the five MS TVM integrations and their schedules

The base system ships with five MS TVM integrations. They appear under Microsoft Defender Integration for USEM > Administration > Integrations, and they run in the order below.

  1. Microsoft TVM Recommendations Integration (daily). Pulls the security recommendations that explain how to remediate vulnerabilities.
  2. Microsoft TVM Vulnerability (CVE) Integration (daily). Pulls National Vulnerability Database entries and third-party vulnerability entries, together with their exploit information.
  3. Microsoft TVM Machines Integration (daily). Pulls asset records, including machine tags.
  4. Microsoft TVM Machines Vulnerabilities Integration (Full Import) (weekly). Pulls all open vulnerabilities across your assets. After installation, the system runs this integration automatically after the machines import.
  5. Microsoft TVM Machines Vulnerabilities Integration (Delta Import) (daily). Pulls the changes made since the full import, including new, fixed and updated vulnerabilities.

Vulnerable items are grouped into remediation tasks by the group rules you set, and those tasks are assigned by your assignment rules. If remediation runs through Configuration Manager, the steps are covered in patch orchestration with Microsoft SCCM.

The Vulnerability (CVE) integration brings in CVE records as well. For the NVD and CWE integrations, see importing data with the NVD and CWE integrations. If you need to tune request rates for the Defender for Endpoint side of your setup, see rate limits for the Microsoft Defender for Endpoint integration.

Map machines to CIs with lookup rules and machine tags

When data arrives from MS TVM, Vulnerability Response uses the machine (asset) data to search the CMDB for matches. CI lookup rules define the fields that search uses. Three lookup rules ship with the base system: MAC_ADDRESS, FQDN and IP. An asset can carry several IP or MAC values, and a rule checks all of them when it matches.

After the first machine import, open the discovered items list. Its default filter is set to Unmatched, so it shows assets with no CI match. Remove the filter to view all discovered items from that import. Unmatched rows typically trace back to an asset that is missing from the CMDB, or to a machine whose identifiers do not match its CI record.

Machine tags, also called host tags, come in with the Machines integration and appear on the Discovered Item form. Assignment rules and remediation task rules use them for filtering. Run the MS TVM Machines integration before you create those rules, so the tags exist when you build the conditions.

Tag storage is not case sensitive. A tag named Paris and one named PARIS are treated as the same tag, and whichever imports first is the version stored. Using a machine tag as a group key in a remediation task rule may produce unexpected results, because group keys are columns in the remediation tasks table, while machine tags are meant for the condition builder. The sn_vul.import_host_tags system property controls tag import. It is set to true by default, and turning it off disables machine tags across all instances.

Check import runs and rerun a failed integration

Check run status after the first scheduled import and after any change to a lookup rule. The role required for this check is sn_vul.vulnerability_admin.

  1. Open the integrations list under Microsoft Defender Integration for USEM > Administration > Integrations. In releases with the older menu, go to All > Microsoft Threat and Vulnerability Management > Integrations.
  2. Choose an integration.
  3. Open the Vulnerability Integration Runs related list.
  4. Confirm that the state is Complete and the substate is Success.

The usual causes of a failed run are a network interruption and corrupted data during the transform. If you see either condition, select Execute now to rerun the integration. For the status steps of the NVD import, see importing NVD vulnerability data and checking import status.

Confirm the integration works before you rely on the data

Run these checks after the first full import.

  1. Open the discovered items list with the Unmatched filter removed. Compare the matched and unmatched counts with the size of the estate you expected to import.
  2. Open a sample of vulnerable items and confirm that each one points to the CI you expect.
  3. Confirm that the machine tags you plan to filter on appear on the discovered items.
  4. Compare the machine filter and authentication settings with the release entries in the section below.

Assign the roles each integration task needs

Grant roles per task. Each action below has its own role.

  • Complete the MS TVM configuration in Setup Assistant: sn_vul.vulnerability_admin. This role has complete access to the Vulnerability Response application and its records.
  • Configure the integration: sn_vul_msft_tvm.configure_integration. This role contains sn_vul_msft_tvm.read_integration.
  • View integration records: sn_vul_msft_tvm.read_integration. Users with this role can view the records of the Vulnerability Response Integration with the Microsoft Threat and Vulnerability Management application.
  • Vulnerability Response group: members inherit sn_vul.read_all and sn_vul.remediation_owner automatically. The group is available in Setup Assistant by default.

When a team needs to see integration records without changing them, assign sn_vul_msft_tvm.read_integration and leave sn_vul_msft_tvm.configure_integration off. For help planning this work, see ServiceNow implementation.

Release entries to check against your installed version

Store releases have changed some defaults and authentication options. Compare these entries with your installed version, since behavior can differ by release.

  • Releases from August and September 2026 corrected the default machine filter for the Microsoft TVM Machines integration. The filter now imports onboarded devices, where onboardingStatus is Onboarded. Earlier releases used a blank default filter.
  • A June 2026 release added support for certificate-based authentication in the MS TVM integration.
  • An April 2026 release made the authentication endpoint configurable. The endpoint had been hardcoded to the non-regulated Azure endpoint, which caused authentication failures for GCC (Government Community Cloud) customers.
  • An August 2026 release fixed authentication when the authentication URL is left blank in Setup Assistant. In that case the integration uses the URL saved in its configuration.

Questions about MS TVM setup and data

Why does a vulnerability carry a TVM-style name instead of a CVE ID?

MS TVM can give a vulnerability a temporary name, such as TVM-XXXX-XXXX, when no CVE has been assigned to it. Third-party entries are retrieved for vulnerabilities without a CVE, and the temporary name is replaced once a CVE ID is assigned.

Can I run an integration outside its schedule?

Yes. Scheduled jobs can also run on demand, so you can pull a fresh set of machine or vulnerability data before the next scheduled run.

What happens when an import queue entry runs longer than an hour?

Starting with Vulnerability Response 18.2.4, the queue sends heartbeats. The Last Record Processed field on the Import Queue Entry page updates as records are created or updated. If an entry passes one hour and that field is also more than an hour old, the system times the entry out. The integration keeps processing despite the timeout, so check the run status before you rerun anything. Two system properties control this behavior: sn_sec_cmn.record_threshold_heartbeat sets how many processed records trigger a heartbeat, and sn_sec_cmn.maximum_heartbeat_delay sets the timeout.

Can I import vulnerability data into a separate domain?

Yes. Assign a user who belongs to the target domain to run the integrations, and the imported data goes to that domain. Set up domain-separated imports for each integration you want to separate.

Should I delete a CI lookup rule that matches poorly?

Disable it instead. A removed rule cannot be recovered, while a disabled rule stays in place for later review.