/rest/vulnerabilities/{vulnerabilityId}/setContested
Descriptor | Value |
---|---|
HTTP Method | POST |
Description | Change the specified vulnerability to Contested |
Required Permission | Update Vulnerability Contested Status |
Version Introduced | 2.7.2 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Calls:
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST http://localhost:8080/threadfix/rest/vulnerabilities/{vulnerabilityId}/setContested
Sample Output:
{ "message": "The vulnerability has been successfully set as contested.", "success": true, "responseCode": -1, "object": 241 }