Forum Discussion
Get installed software version - REST API
Hi there,
Anyone here has tested the API which gets installed software?
https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/get-installed-software
I have tested the API but the API did not get software versions.
I want to know how to get software versions.
Thanks in advance for your help.
sho-kakei You could use the Advanced Hunting API (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/run-advanced-query-api) to query the DeviceTvmSoftwareInventoryVulnerabilities table. This table contains the SoftwareVersion column you are looking for (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/advanced-hunting-tvm-softwareinventory-table).
2 Replies
- StephenMccBrass Contributor
sho-kakei You could use the Advanced Hunting API (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/run-advanced-query-api) to query the DeviceTvmSoftwareInventoryVulnerabilities table. This table contains the SoftwareVersion column you are looking for (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/advanced-hunting-tvm-softwareinventory-table).
- sho-kakeiCopper ContributorStephenMcc I was able to get software versions without problem. Thank you very much for your answer!