Microsoft Defender Vulnerability Management v2
Read Defender vulnerabilities and the devices they affect
Lists Defender vulnerabilities, the devices and software each one affects, and CVE details, with a pass-through to the Defender API.
microsoft-defender-vulnerability-management-v2_2.0.0.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Reads vulnerability data from Microsoft Defender Vulnerability Management through the Defender for Endpoint API. It lists and reads vulnerabilities (filtered by id, publish date, severity or an extra OData clause), lists the devices a vulnerability affects, returns the machine and software vulnerability records with the fixing KB ids, reads one CVE together with every device it affects, and passes any other Defender API call through with the connector's own authentication. Only the Defender API host is called; other hosts are refused.
Live-tested on FortiSOAR 8.0.1 against a Microsoft 365 lab tenant.
Not live-tested
- Error mocks for 429, and for the 401, 403 and 404 responses of the operations other than the pass-through, are labelled synthetic in the package's test set. The lab tenant did not produce those responses, so they were not seen live. All seven operations and the two picker sources ran live.
Permissions
The Microsoft Entra ID app registration (client credentials) needs the WindowsDefenderATP application permissions Vulnerability.Read.All and Machine.Read.All, with admin consent. The pass-through needs whatever permission the endpoint requires; the API names the missing role in a 403 response.
Configuration: Tenant ID, Client ID, Client Secret, Verify SSL and Timeout.
Configuration · 5 fields
- Tenant ID
tenant_idtext requiredMicrosoft Entra ID tenant (directory) ID or domain.
- Client ID
client_idtext requiredApplication (client) ID of the Entra ID app registration.
- Client Secret
client_secretpassword requiredClient secret of the app registration (Certificates & secrets).
- Verify SSL
verify_sslcheckboxSpecifies whether SSL certificates are to be verified.
Default
true - Timeout (seconds)
timeoutintegerTimeout for each API request.
Default
60
Operations · 9
Get All Vulnerabilities 6 params
list_vulnerabilitieslist_vulnerabilitiesList vulnerabilities known to Defender Vulnerability Management, filtered by id, publish date, severity or OData.
- Vulnerability ID
vulnerability_idselectVulnerability (CVE or TVM) id, picked from the tenant's vulnerabilities (for example CVE-2023-24040).
- Published On
published_ondatetimeOnly vulnerabilities published on or after this UTC time (ISO 8601).
- Severity
severityselectOnly return vulnerabilities of this severity.
Options LowMediumHighCritical - OData Filter
odata_filtertextExtra OData $filter clause, ANDed with the other filters. Example: exploitVerified eq true.
- Skip
skipintegerNumber of records to skip (OData $skip).
- Top
topintegerMaximum records to return (OData $top, 1 to 10000).
ReturnstypepropertiesGet Vulnerability By ID 1 param
get_vulnerability_by_idget_vulnerability_by_idRead one vulnerability by its id (CVE or TVM id).
- Vulnerability ID
vulnerability_idselect requiredVulnerability (CVE or TVM) id, picked from the tenant's vulnerabilities (for example CVE-2023-24040).
ReturnstypepropertiesList Devices By Vulnerability 1 param
list_devices_by_vulnerabilitylist_devices_by_vulnerabilityList the devices (machine references) affected by one vulnerability.
- Vulnerability ID
vulnerability_idselect requiredVulnerability (CVE or TVM) id, picked from the tenant's vulnerabilities (for example CVE-2023-24040).
ReturnstypepropertiesGet Vulnerabilities By Machine And Software 7 params
list_vulnerabilities_by_machine_and_softwarelist_vulnerabilities_by_machine_and_softwareList machine-by-software vulnerability records: which device runs which product version with which CVE, and the fixing KB.
- Machine
machine_idselectDefender device, picked by name from the tenant's machines. The stored value is 'name [machine id]'; a bare id also works.
- Vulnerability ID
vulnerability_idselectVulnerability (CVE or TVM) id, picked from the tenant's vulnerabilities (for example CVE-2023-24040).
- CVE ID
cve_idtextOnly this CVE.
- Severity
severityselectOnly return vulnerabilities of this severity.
Options LowMediumHighCritical - OData Filter
odata_filtertextExtra OData $filter clause, ANDed with the other filters. Example: exploitVerified eq true.
- Skip
skipintegerNumber of records to skip (OData $skip).
- Top
topintegerMaximum records to return (OData $top, 1 to 10000).
ReturnstypepropertiesGet Specific CVE Details 1 param
get_specific_cve_detailsget_specific_cve_detailsRead one CVE: the vulnerability record, plus every device it affects (machine and software records).
- CVE ID
cve_idselect requiredCVE id, picked from the tenant's vulnerabilities (for example CVE-2023-24040).
ReturnstypepropertiesExecute API Request 3 params
execute_api_requestexecute_api_requestCall any Defender for Endpoint API endpoint (pass-through with the connector's own auth). Errors come back as data (status_code, body); other hosts are refused.
- Method
methodselect requiredHTTP method.
Options GETPOSTPATCHWhen Method is POST
- Payload (JSON)
payloadtextJSON body for POST or PATCH.
When Method is PATCH
- Payload (JSON)
payloadtextJSON body for POST or PATCH.
- Endpoint
endpointtext requiredPath on the Defender API, for example /api/machines or /api/vulnerabilities/CVE-2023-24040/machineReferences.
- Query Parameters (JSON)
query_paramstextJSON object of query parameters, for example {"$top": 5}.
ReturnstypepropertiesHealth Check
health_checkhealth_checkAcquire a Defender API token and read one vulnerability.
No parameters.
ReturnstypepropertiesList Machine Choices
list_machine_choiceslist_machine_choicesDropdown source for the Machine picker: up to 200 Defender devices as 'name [machine id]' strings.
No parameters.
ReturnstypepropertiesList CVE Choices
list_cve_choiceslist_cve_choicesDropdown source for the vulnerability pickers: up to 200 vulnerability ids from the tenant.
No parameters.
Returnstypeproperties