Type: GET
URL for All Remediation Plans: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/remediation-plans
URL for specific Remediaiton Plan: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/remediation-plans/{id}
Body: empty
Example:
Note - Remediation Plan object will be inside a list only if getting all remediation plans
[
{
"archived":false,
"activationTime":1600088698322,
"sparseHidden":false,
"hasUnapprovedPatches":false,
"hasApprovedPatches":false,
"id":4017,
"name":"Test",
"description":null,
"isEmergencyPlan":false,
"isCritical":false,
"createdBy":"admin",
"createdTime":1600088582712,
"modifiedBy":"admin",
"modifiedTime":1600088698322,
"remediationCycle":{
"cycleSteps":[
{
"computerGroupId":5016,
"workflowId":501,
"order":0,
"maintenanceScheduleId":null
},
{
"computerGroupId":5016,
"workflowId":1001,
"order":1,
"maintenanceScheduleId":null
},
{
"computerGroupId":5016,
"workflowId":503,
"order":2,
"maintenanceScheduleId":null
}
]
},
"kanbanStatus":"COMPLETED",
"rpStatus":"COMPLETED",
"creationType":"MANUAL",
"applicableUpdatesCnt":0,
"applicableComputersCnt":0,
"errMsg":null,
"devicesCompliance":{
"totalQty":1,
"compliantQty":1,
"nonCompliantQty":0,
"suspendedQty":0,
"pendingQty":0,
"busyQty":0,
"activeQty":0,
"activeNonCompliantQty":0,
"requireAttentionQty":0,
"requireAttentionCompliance":{
"poweredOff":0,
"powerSuspended":0,
"powerUnknown":0,
"disconnected":0,
"connectorNotInstalled":0,
"connectorDown":0,
"invalidCredentials":0,
"notReachable":0,
"untested":0,
"failed":0,
"powershellVersionNotSupported":0,
"suspendedByUser":0,
"maintenanceWindowRequired":0,
"awaitingMaintenanceWindow":0,
"maintenanceWindowExpired":0,
"pendingUserAction":0,
"lowDiskSpace":0,
"unknownEndpoint":0,
"patchingInapplicable":0,
"advisoriesNotExist":0,
"packagesNotExist":0,
"wrongRepositoriesConfiguration":0,
"subscriptionMissing":0,
"powershellPolicyIsNotCompatible":0,
"wsusCommunicationProblems":0,
"maintenanceWindowTimeout":0,
"suspension":null
}
}
}
]
Analyze Remediation Plan Status
To analyze the Remediation Plan status it is needed to look at the "rpStatus" value. Possible values are described in the Object Fields Reference.
Comments
0 comments
Please sign in to leave a comment.