Versions Compared

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 Introduced2.5.1.1


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 

Sample Calls:


Code Block
themeEclipse
curl -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' https://localhost:8443/threadfix/rest/latest/severities


Sample Output:


Code Block
themeEclipse
{
  "message": "",
  "success": true,
  "responseCode": -1,
  "object": [
    {
      "id": 4,
      "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": 5,
      "name": "Info",
      "intValue": 1,
      "customName": null,
      "displayName": "Info"
    }
  ]
}




Page Tree
rootVulnerabilities API