Import Specific Remote Provider Scan 3.0 - API

/rest/{version}/remoteprovider/remoteProviderApplication/{remoteProviderApplicationId}/import/{proprietaryScanId}

Currently only supported for Veracode scan imports.

Descriptor

Value

Descriptor

Value

HTTP Method

POST

Description

Triggers a Remote Provider Scan import for the scan id specified in the URL

Required Permissions

Manage Remote Providers and Upload Scans

Version Introduced

2.7.5

Additional Notes

This endpoint is only supported for the following scanners:

  • Veracode

Version Updated

2.7.6 - Adjusted call to import specific Veracode build ID.

proprietaryScanId is id of the scan in the Scanner Tool

Example: For Veracode, the proprietaryScanId is the "buildId" of the scan

Request Header Parameters

Parameter

Value

Required

Description

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/remoteProviderApplication/4/import/3265054

Sample Output:

{     "message": "",     "success": true,     "responseCode": -1,     "object": "Remote provider import accepted",     "links": [         {             "method": "GET",             "rel": "self",             "href": "http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/4/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.