All Patches
Type: GET
URL: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/updates?page=0&size=-1
URL For downloading the built-in report: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/updates/report?page=0&size=-1
Note -
- <JetPatch_URL> is the JetPatch server name/ip
Patches in specific Remediation Plans
URL: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/updates?query=%7B%22%24and%22%3A%20%5B%7B%22managed%22%3A%20%7B%22%24eq%22%3A%20true%7D%7D%2C%7B%22planId%22%3A%20%7B%22%24in%22%3A%20%5B%22{Remediation_Plan_ID}%22%5D%7D%7D%5D%7D
URL For downloading the built-in report: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/updates/report?query=%7B%22%24and%22%3A%20%5B%7B%22managed%22%3A%20%7B%22%24eq%22%3A%20true%7D%7D%2C%7B%22planId%22%3A%20%7B%22%24in%22%3A%20%5B%22{Remediation_Plan_ID}%22%5D%7D%7D%5D%7D
Note -
- {Remediation_Plan_ID} is the Requested plan ID
- <JetPatch_URL> is the JetPatch server name/ip
- Endpoints Compliance values are calculated in the scope of the Remediation Plan
Result:
List of patches.
releaseDate - Time in EPOCH format
{
"total": 6,
"content": [
{
"url": "/vmanage-server/rest/experimental/updates/21932",
"links": null,
"id": 21932,
"updateUid": "CESA-2020:3220",
"title": "CESA-2020:3220 Important CentOS 7 kernel Security Update",
"kbArticles": [],
"os": [
{
"os": "CentOS 7.x",
"architecture": "x64"
}
],
"products": [
"CentOS 7.0"
],
"category": "security",
"severity": "IMPORTANT",
"cvss": null,
"releaseDate": 1596067696000,
"unknownCount": null,
"notApplicableCount": null,
"notInstalledCount": 1,
"downloadedCount": null,
"installedCount": 0,
"installedPendingRebootCount": null,
"approvalStatus": "UNAPPROVED",
"planIds": [
5504
],
"requestedAction": null,
"failedCount": 0,
"inProgressCount": 0,
"supportedInstallation": true,
"supportedRemoval": true,
"vulnerabilitySource": "Nodeware",
"cve": null,
"vulnerabilityImportDates": {
"Nodeware": 1601818907906
},
"managed": true
}
]
}
Comments
0 comments
Please sign in to leave a comment.