Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/severities
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Returns a list of severity levels in ThreadFix and their custom names. |
Required Permission | Global Read Access (Any Role) |
Version Introduced | 2.5.1.1 |
Changes in 2.7.9 | Added a new generic severity named unassigned for vulnerabilities with an unmapped severitiesseverity |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Calls:
Code Block | ||
---|---|---|
| ||
curl -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' https://localhost:8443/threadfix/rest/latest/severities |
Sample Output:
Code Block | ||
---|---|---|
| ||
{ "message": "", "success": true, "responseCode": -1, "object": [ { "id": 5, "name": "Critical", "intValue": 5, "customName": "Urgent", "displayName": "Urgent" }, { "id": 1, "name": "High", "intValue": 4, "customName": null, "displayName": "High" }, { "id": 3, "name": "Medium", "intValue": 3, "customName": null, "displayName": "Medium" }, { "id": 2, "name": "Low", "intValue": 2, "customName": null, "displayName": "Low" }, { "id": 6, "name": "Info", "intValue": 1, "customName": null, "displayName": "Info" }, { "id": 5, "name": "Unassigned", "intValue": 0, "customName": null, "displayName": "Unassigned" } ] } |
Page Tree | ||
---|---|---|
|