Risk Relationships
Add Vulnerabilities to Risk
Use this API to add or replace vulnerabilities on a risk.
🗒 Things to Know
- If vulnerabilities were previously assigned to the risk, those vulnerabilities will be replaced with the new specified vulnerabilities after calling this API.
post/api/risk/v2/risks/{riskId}/vulnerabilities
Path parameters
riskIdstring uuid required
Unique identifier of the risk
Request body
Example request
{
"vulnerabilityIdList": [
"123e4567-e89b-12d3-a456-426614174000",
"987fcdeb-51a2-43d7-9abc-123456789012"
]
}Response
Vulnerabilities added or replaced successfully