As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

/rest/defects/{defectId}


Descriptor

Value

HTTP Method

GET

Description

Returns details about selected defect..

Required Permission

Global Read Access (Any Role)

Version Introduced2.7.3


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

AuthorizationAPIKEY {apiKey}YesAPI being used to execute API call.

 

Sample Calls:


curl -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' http://localhost:8080/threadfix/rest/latest/defects/{defectId}


Sample Output:


{
    "message": "Retrieved defect details",
    "success": true,
    "responseCode": -1,
    "object": {
        "defectDetails": {
            "id": 1,
            "nativeId": "TFDEF-44",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/TFDEF-44",
            "opened": true,
            "defectTrackerName": "Jira DT - TFDefectTest"
        },
        "vulnerabilityIds": [
            523532
        ],
        "application": {
            "name": "Bodgeit",
            "id": 19
        },
        "team": {
            "name": "Iterative Scans",
            "id": 7
        }
    }
}



  • No labels