Risk Management
Update Risk Stage
Use this API to assign a risk to a stage in a workflow.
🗒 Things to Know
- This API will move the risk to the specified stage in the workflow.
- The risk must be in a valid stage to be moved to the target stage.
post/api/risk/v2/risks/{id}/assign-stage
Path parameters
idstring uuid required
Risk unique Identifier
Request body
Example request
{
"nextStageId": "123e4567-e89b-12d3-a456-426614174000",
"direction": "Specific",
"parameters": {
"forceTransition": false,
"notifyUsers": true,
"reason": "Security incident triage complete",
"skipValidation": true,
"urgency": "high"
},
"comment": "Moving to investigation stage due to new evidence found during initial triage"
}Response
Risk stage changed successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Investigation",
"nameKey": "workflow.stage.investigation",
"description": "Investigation stage for incident workflow",
"descriptionKey": "workflow.stage.investigation.description",
"sequence": 2,
"allowDeletion": true,
"badgeColor": "blue",
"approvalStage": true,
"exceptionStage": false,
"autoAdvanceOnApproval": true,
"customFields": {
"priority": "high",
"category": "security"
},
"stageApprovers": [
{
"id": "abc-123",
"name": "Security Approver"
}
],
"additionalFields": {
"notificationEnabled": true
},
"advanceStageActionEnabled": true,
"advanceStageActions": [
{
"id": "def-456",
"name": "Approve"
}
],
"stageExceptionConfiguration": {
"enabled": true,
"approverCount": 2
}
}