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/remoteprovider/remoteProviderApplication/{remoteProviderApplicationId}/status

 

Descriptor

Value

HTTP Method

GET

Description

Returns the status for the Remote Provider Application import.

Restricted

True

 

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 

Sample Call:


curl --insecure -H 'Accept: application/json' http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/4/status?apiKey={apiKey}

 

Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 2,
            "fileDataList": [
                {
                    "id": 6,
                    "originalName": "WhiteHat Sentinel Source-WHS-WebGoat .NET-1"
                }
            ],
            "appId": 1,
            "errorMessage": null,
            "status": "DONE",
            "error": false,
            "type": "upload",
            "name": "WhiteHat Sentinel Source-WHS-WebGoat .NET-1",
            "time": 1490729026000,
            "scanMessage": null
        },
..//SECTION OMMITTED FOR BREVITY//..
        {
            "id": 8,
            "fileDataList": [
                {
                    "id": 12,
                    "originalName": "WhiteHat Sentinel Source-WHS-WebGoat .NET-7"
                }
            ],
            "appId": 1,
            "errorMessage": null,
            "status": "APPLICATION_MERGED",
            "error": false,
            "type": "upload",
            "name": "WhiteHat Sentinel Source-WHS-WebGoat .NET-7",
            "time": 1490729026000,
            "scanMessage": "Merging Application Findings Completed"
        },
        {
            "id": 9,
            "fileDataList": [
                {
                    "id": 13,
                    "originalName": "WhiteHat Sentinel Source-WHS-WebGoat .NET-8"
                }
            ],
            "appId": 1,
            "errorMessage": null,
            "status": "FINISHED_FINDING_PULLING",
            "error": false,
            "type": "upload",
            "name": "WhiteHat Sentinel Source-WHS-WebGoat .NET-8",
            "time": 1490729026000,
            "scanMessage": "Findings Import From Server Finished."
        }
    ]
}

  • No labels