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.

Get Defect Details - API

/rest/{version}/defects/{defectId}


Descriptor

Value

HTTP Method

GET

Description

Returns details about selected defect.

Required Permission

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/1


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
        }
    }
}



www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.