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

Version 1 Next »

/rest/defects/search


Descriptor

Value

HTTP Method

POST

Description

Returns list of all defects mapped to vulnerabilities in ThreadFix

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


Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 40,
            "nativeId": "THREAD-18653",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18653",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 41,
            "nativeId": "THREAD-18654",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18654",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 42,
            "nativeId": "THREAD-18655",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18655",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 43,
            "nativeId": "THREAD-18656",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18656",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 44,
            "nativeId": "THREAD-18657",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18657",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 45,
            "nativeId": "THREAD-18658",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18658",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 46,
            "nativeId": "THREAD-18659",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18659",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 47,
            "nativeId": "THREAD-18660",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18660",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 48,
            "nativeId": "THREAD-18661",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18661",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        },
        {
            "id": 49,
            "nativeId": "THREAD-18662",
            "status": "Open",
            "category": null,
            "defectURL": "https://threadfix.atlassian.net/browse/THREAD-18662",
            "defectTrackerName": "JIRA - ThreadFix",
            "opened": true
        }
    ]
}



  • No labels