Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Descriptor

Value

HTTP Method

POST

Description

Change Update the specified vulnerability to 's Contested status

Required Permission

Update Vulnerability Contested Status

Version Introduced2.7.2
Changes in 2.7.9Added a parameter 'contested' to control if you set the Contested status to True or False.


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.

Request POST Data Parameters

Parameter

Value

Required

Description

contested

Boolean

No

Provide 'true' to mark the vulnerability as Contested.  Provide 'false' to mark the vulnerability as Not Contested.

Defaults to 'true' if not provided.

Sample Calls: 


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST --data 'contested=true' http://localhost:8080/threadfix/rest/latest/vulnerabilities/{vulnerabilityId}/setContested

...