Microsoft Defender
How to integrate and use Microsoft Defender with OneSite Patch.
You can configure OneSite Patch to collect vulnerability metadata from Microsoft Defender. You can use this metadata to:
Configure patch filters in simple strategies.
Set a trigger to rerun an advanced strategy based on changes to specific metadata.
Configure patch deployment bots to deploy patches based on the metadata.
For a full list of imported values from Microsoft Defender, please see the Metadata properties section below.
Prerequisites
Add Microsoft Defender license key
To enable Microsoft Defender integration, you will need a license key. For more information about acquiring these keys, please reach out to your Sales manager.
You can add and view your license keys in the Adaptiva Admin Portal. Please see License your Adaptiva solution page for more details.
Obtain Entra ID information
Integrating Microsoft Defender requires the following Microsoft Entra ID information:
Tenant ID: The existing Directory ID for the Entra customer.
Application ID: A configured application Client ID for the Entra customer.
Client Secret: A configured authentication for content sharing between OneSite Patch and Entra.
Instructions on how to obtain this information is detailed below.
Internet connectivity to the Microsoft Defender API service
You must make sure that the Adaptiva server can access the Microsoft Defender API service. This enables the Adaptiva server to:
Verify and save your Microsoft Defender access settings.
Regularly download updates to the vulnerability metadata. The default schedule for this is every 8 hours.
You can see the integration section of Plan for OneSite platform installation for a list of the URLs you must add to your allowlist.
Create a Microsoft Entra Application
To integrate Microsoft Defender with OneSite Patch, begin with registering an application with Microsoft Entra ID and creating a service principle.
You can refer to the official documentation on Microsoft Learn at Register an application in Microsoft Entra ID.
Sign in to your entra.microsoft.com account as an administrator.
Browse to Entra ID > App registrations, and then select New registration.
Enter the following details into the form:
Enter a Name that identifies the Adaptiva integration.
Under Supported account types, select "Single tenant only - <your tenant>".
Skip Redirect URI. If you must enter something for the Redirect URI, select Web.
Select Register to create the application.
Add Permissions to an Entra Application
After creating the new Entra application, use the following steps to add the Vulnerability.Read.All permission from Add registrations. Make sure you are logged in as an administrator.
You can refer to the official documentation on Microsoft Learn at Configure app permissions for a web API.
Access the API Permissions workspace from the App registrations page:
Select the Name of the newly created application on the App registrations page. This opens the application and a new list of menu options.
Select API permissions on the left navigation menu, and then select Add a Permission. This opens the Request API Permissions workspace.
Select APIs my organization uses, and then locate WindowsDefenderATP in the list.
Select WIndowsDefenderATP, and then select Application permissions.
Scroll down to and expand Vulnerability, and then select Vulnerability Read All.
Click the Add Permissions button.
Check the Status of the newly added permission. If the status is Not granted for <your tenant> and you have administrator privileges, click "Grant admin consent for <your tenant>. Otherwise, get your administrator to grant admin consent for your app.

Create a Shared Secret ID
After creating an application and adding permissions, use the following steps to create a shared secret ID. The secret ID enables authentication between OneSite Patch and Defender for the application you created.
You can refer to the official documentation on Microsoft Learn at Add and manage application credentials in Microsoft Entra ID.
Select Certificates & secrets on the Manage menu for the open application.
Select Client secrets.
Select + New client secret. This opens the Add a client secret dialog:
a. Enter a Description of the secret.
b. Select an Expires timeline.
c. Select Add to save your changes and return to the Certificates & secrets workspace.
Immediately copy the Value field of the new client secret and save it in a secure location. This field is only viewable immediately after creation.
Locate and Record the Microsoft Entra IDs
Sign in to your entra.microsoft.com account as an administrator.
From the Home page, navigate to Applications > App Registrations, and then open the application you created for integration.
Select Overview on the left navigation of the application workspace and record the following identification information:
Application (client) ID
Directory (tenant) ID
Integrate Defender with OneSite Patch
Select Microsoft Defender on the left navigation menu of the OneSite Patch dashboard to open the Defender Access Settings workspace.

Enter the ID information gathered from Microsoft Entra, making sure to use the client secret Value.
Click the More dropdown and select Test Settings to make sure that your settings are valid and that the Adaptiva server can connect with the Microsoft Defender API service. Any connection errors are recorded in the server error logs.
Click Save on the upper left.
Metadata properties
These metadata properties can be used to filter patches when creating patch strategies.
Defender.CvssScore
The Common Vulnerability Scoring System (CVSS) score of a vulnerability. A decimal value between 0.0 and 10.0, indicating the severity of a given vulnerability with 10.0 being the most severe.
Decimal value 0.0 to 10.0, 1 decimal place
Defender.ExploitabilityLevel
The exploitability level of this vulnerability.
Unknown / No exploit / Exploit is public / Exploit is verified / Exploit is in kit
Defender.KnownExploitExists
True if the vulnerability is public, verified or in a kit
true / false
Defender.SecurityUpdateAvailable
Indicates whether a security update is available for the software
true / false
Defender.SeverityLevel
Defender severity level of vulnerability.
None / Low / Medium / High / Critical
Last updated
Was this helpful?