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

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/risk/v2/risks/{riskId}/vulnerabilities
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: INTEGRATION, ITRM

Path parameters

riskIdstring uuid required

Unique identifier of the risk

Request body

vulnerabilityIdListstring[] required

List of unique identifiers of vulnerabilities to be added. If empty, all existing vulnerabilities will be removed from the risk.

Example request

{
  "vulnerabilityIdList": [
    "123e4567-e89b-12d3-a456-426614174000",
    "987fcdeb-51a2-43d7-9abc-123456789012"
  ]
}

Response

Vulnerabilities added or replaced successfully

Changes

No recorded changes to this operation across all 1 revision of this API.