Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added version and permissions

/rest/remoteprovider/remoteProviderApplication/{remoteProviderApplicationId}/status

 

Descriptor

Value

HTTP Method

GET

Description

Returns the status for the Remote Provider Application import.

Restricted

TrueRequired Permissions

Manage Remote Providers and Upload Scans

Version Introduced2.5.0

 

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 

Sample Call:


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

 

Sample Output:


Code Block
themeEclipse
{
    "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."
        }
    ]
}


Page Tree
rootRemote Providers API