Import Remote Provider Scans for Application 3.0 - API
/rest/{version}/remoteprovider/{remoteProviderId}/importAllForApplication/{appId}
Descriptor | Value |
---|---|
HTTP Method | POST |
Description | Triggers a Remote Provider import for the specified Remote Provider Application. Supports importing when multiple remote provider applications are mapped to one application in ThreadFix. |
Required Permissions | Manage Remote Providers and Upload Scans |
Version Introduced | 2.7.8 |
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' -H "Authorization: APIKEY {API Key}" -X POST http://localhost:8080/threadfix/rest/latest/remoteprovider/1/importAllForApplication/4
Sample Output:
{
"message": "",
"success": true,
"responseCode": -1,
"object": "Importing scans.",
"links": [
{
"method": "GET",
"rel": "self",
"href": "http://localhost:8080/threadfix/rest/Latest/remoteprovider/remoteProviderApplication/2603/status"
},
{
"method": "GET",
"rel": "self",
"href": "http://localhost:8080/threadfix/rest/Latest/remoteprovider/remoteProviderApplication/2604/status"
},
{
"method": "GET",
"rel": "self",
"href": "http://localhost:8080/threadfix/rest/Latest/remoteprovider/remoteProviderApplication/2605/status"
}
]
}
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.