How to Check Patched Devices in Defender for Endpoint Vulnerability API
Question details
The user needs to know if patched devices continue to appear in later extracts generated by the Microsoft Defender for Endpoint software vulnerability APIs.

- Product
- Microsoft Defender for Endpoint
- Device & OS
- not provided
- Scenario
- Exporting device vulnerability assessments via API to track the status of vulnerable and patched devices in the network.
- Observed behavior
- Identifying whether patched devices are excluded from future full API extracts and how to accurately track newly fixed vulnerabilities.
Ensure you have the necessary Microsoft Defender for Endpoint API permissions and are familiar with calling both full and delta export endpoints.
Tracking Patched Devices Using Full and Delta API Exports
Understand how the Defender for Endpoint APIs handle patched devices through full state reflections and delta tracking.
The Microsoft Defender for Endpoint vulnerability APIs provide two different methods for exporting data: full exports and delta exports. It is crucial to use the correct API endpoint depending on whether you want to see the current state of the network or an audit of recent changes.
Call the full vulnerability assessment API. This extract strictly reflects the current state of your environment. If you originally had 100 vulnerable devices and successfully patched 30 of them, the next full extract will only show the remaining 70 vulnerable devices. The patched devices will automatically be removed from this list.
To explicitly track which devices were patched, call the delta export API. You must specify a date parameter. The API response will return data categorized into new, fixed, and updated vulnerabilities. Review the entries marked as 'fixed' to identify the exact devices that were recently patched.

Analyze API Export Data Effortlessly with WPS Office
While Microsoft Defender for Endpoint manages vulnerability tracking, analyzing the exported CSV or JSON data requires a robust spreadsheet tool. WPS Office provides a lightweight, easy-to-use, and free alternative to Microsoft Excel for formatting, managing, and reporting your security data.
- 1. Export your vulnerability data: Use the Microsoft Defender for Endpoint Delta API to export your patched device data as a standard CSV file.
- 2. Open with WPS Spreadsheet: Launch the free WPS Office suite, open the Spreadsheet application, and import your downloaded CSV export.
- 3. Filter and analyze: Utilize WPS Spreadsheet's built-in filtering and pivot table features to quickly isolate the 'fixed' status devices and generate security reports.

Frequently Asked Questions
Why are my patched devices missing from the full vulnerability assessment?
The full vulnerability assessment export only reflects the current, active state of your network. Once a vulnerability is patched, that device is no longer considered vulnerable to that specific threat and therefore drops off the full extract report.
How do I explicitly filter and find patched devices using the API?
You should use the Delta export API rather than the Full export. By setting a specific date parameter, the Delta export will retrieve historical changes, allowing you to filter the results by the 'fixed' status to view devices that have been recently patched.
Can I get historical vulnerability data using the Defender API?
Yes. By utilizing the Delta export and specifying a past date, you can retrieve all historical changes. This includes newly discovered vulnerabilities, updated statuses, and fixed vulnerabilities since your specified date.




