New Feature #12186
openImprovement #11632: Patch management/ Windows updates related improvements
Modify the API to Fetch Windows Updates with Installation status filter
100%
Description
Modify the existing getWindowsUpdatesByDeviceId API endpoint to support filtering updates based on their installation status by adding an isInstalled parameter , to populate the "Installed Updates" tab on the UI, allowing to view all updates that have already been installed to a Windows device
Files
Updated by Subodhinie chathurajika 16 days ago
- Subject changed from Add backend API to fetch Installed Windows Updates to Modify the API to Fetch Windows Updates with Installation status filter
- Description updated (diff)
Updated by Subodhinie chathurajika 15 days ago
- Due date set to 07/11/2024
- Status changed from New to QA
- % Done changed from 0 to 100
Updated by Arshana Atapattu 9 days ago
- File Screenshot from 2024-11-13 17-43-20.png Screenshot from 2024-11-13 17-43-20.png added
- Status changed from QA to QA Reject
This is not working [1] returned isInstalled=false instances as well
API [2]
response [3]
[1]
[2]
API => device is from sub tenant
curl --location --request GET 'https://uem.mgt.entgra.net:443/api/device-mgt/windows/v1.0/devices/os-updates/device?deviceId=69EA0D27B970F943979D448B301C9FB5&isInstalled=true' \
--header 'Authorization: Bearer TOEN' \
--header 'Content-Type: application/json'
[3]
{
"updates":[
{
"title":"Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.421.23.0) - Current Channel (Broad)",
"categories":[
{
"categoryName":"Definition Updates",
"categoryID":"e0789628-ce08-4437-be74-2495b842f43b",
"categoryType":"UpdateClassification",
"categoryDescription":"A broadly-released and frequent software update containing additions to a product's definition database. Definition databases are often used to detect objects with specific attributes, such as malicious code, phishing Web sites, or junk e-mail."
},
{
"categoryName":"Microsoft Defender Antivirus",
"categoryID":"8c3fcc84-7410-4a95-8b89-a166a0190486",
"categoryType":"Product",
"categoryDescription":"Microsoft Defender Antivirus helps protect your computer against pop-ups, slow performance, and security threats caused by spyware and other unwanted software."
}
],
"description":"Install this update to revise the files that are used to detect viruses, spyware, and other potentially unwanted software. Once you have installed this item, it cannot be removed.",
"type":"utSoftware",
"lastDeploymentTime":"Oct 31, 2024, 12:00:00 AM",
"formattedLastDeploymentTime":"31/10/2024",
"supportUrl":"https://go.microsoft.com/fwlink/?LinkId=52661",
"maxDownloadSize":54833472,
"isDownloaded":false,
"isHidden":false,
"isInstalled":false,
"downloadPriority":1,
"isMandatory":false,
"isUninstallable":false,
"windowsUpdateId":"002fd0cb-c875-409e-bb9b-14613154c2f1",
"deviceIds":[
"69EA0D27B970F943979D448B301C9FB5",
"69EA0D27B970F943979D448B301C9FB5"
],
"tenantId":0
},
{
"title":"Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.419.780.0) - Current Channel (Broad)",
"categories":[
{
"categoryName":"Definition Updates",
"categoryID":"e0789628-ce08-4437-be74-2495b842f43b",
"categoryType":"UpdateClassification",
"categoryDescription":"A broadly-released and frequent software update containing additions to a product's definition database. Definition databases are often used to detect objects with specific attributes, such as malicious code, phishing Web sites, or junk e-mail."
},
{
"categoryName":"Microsoft Defender Antivirus",
"categoryID":"8c3fcc84-7410-4a95-8b89-a166a0190486",
"categoryType":"Product",
"categoryDescription":"Microsoft Defender Antivirus helps protect your computer against pop-ups, slow performance, and security threats caused by spyware and other unwanted software."
}
],
"description":"Install this update to revise the files that are used to detect viruses, spyware, and other potentially unwanted software. Once you have installed this item, it cannot be removed.",
"type":"utSoftware",
"lastDeploymentTime":"Oct 30, 2024, 12:00:00 AM",
"formattedLastDeploymentTime":"30/10/2024",
"supportUrl":"https://go.microsoft.com/fwlink/?LinkId=52661",
"maxDownloadSize":1242947048,
"isDownloaded":false,
"isHidden":false,
"isInstalled":false,
"downloadPriority":1,
"isMandatory":false,
"isUninstallable":false,
"windowsUpdateId":"61b34745-67cd-43c3-bb8d-cd9850601d1e",
"deviceIds":[
"69EA0D27B970F943979D448B301C9FB5",
"69EA0D27B970F943979D448B301C9FB5"
],
"tenantId":0
},
{
"title":"2024-10 Cumulative Update Preview for .NET Framework 3.5, 4.8 and 4.8.1 for Windows 10 Version 22H2 for x64 (KB5045991)",
"categories":[
{
"categoryName":"Updates",
"categoryID":"cd5ffd1e-e932-4e3a-bf74-18bf0b1bbd83",
"categoryType":"UpdateClassification",
"categoryDescription":"A broadly released fix for a specific problem addressing a noncritical, non-security-related bug."
}
],
"description":"Install this update to resolve issues in Windows. For a complete listing of the issues that are included in this update, see the associated Microsoft Knowledge Base article for more information. After you install this item, you may have to restart your computer.",
"type":"utSoftware",
"lastDeploymentTime":"Oct 22, 2024, 12:00:00 AM",
"formattedLastDeploymentTime":"22/10/2024",
"supportUrl":"http://support.microsoft.com",
"maxDownloadSize":79722106,
"isDownloaded":false,
"isHidden":false,
"isInstalled":false,
"downloadPriority":2,
"isMandatory":false,
"isUninstallable":false,
"windowsUpdateId":"65ca572a-591a-4e19-bbbd-68489424a5ea",
"deviceIds":[
"69EA0D27B970F943979D448B301C9FB5"
],
"tenantId":0
}
],
"count":20
}