Type: PUT
URL: https://<JetPatch_URL>/vmanage-server/rest/experimental/patch-governance/remediation-plans/{id}
Note - {id} is the requested remediation plan
Body:
The call should include the whole Remediation Plan object is described in the Object Field article
Changing Endpoint Groups selections and Workflows
To change the Endpoint Groups and Workflows for a Remediation Plan, the "cycleSteps" should have
- computerGroupId: {EndpointGroup_id}
- workflowId: {wf_id}
- order: null
Notes -
- {EndpointGroupid} - the requested Endpoint Group ID
- {wf_id} - the requested workflow
- The order of the list is important - Each group should have 3 entries. The first entry is for Windows Workflow, the second is for Linux Workflow and the third is for Solaris Workflow
Example -
"cycleSteps":[
{
"computerGroupId":5016,
"workflowId":502,
"order":0,
"maintenanceScheduleId":null
},
{
"computerGroupId":5016,
"workflowId":501,
"order":1,
"maintenanceScheduleId":null
},
{
"computerGroupId":5016,
"workflowId":503,
"order":2,
"maintenanceScheduleId":null
},
{
"computerGroupId":501,
"workflowId":502,
"order":3,
"maintenanceScheduleId":null
},
{
"computerGroupId":501,
"workflowId":501,
"order":4,
"maintenanceScheduleId":null
},
{
"computerGroupId":501,
"workflowId":503,
"order":5,
"maintenanceScheduleId":null
}
]
Comments
0 comments
Please sign in to leave a comment.