As we reach the end of September 2024, ThreadFix version 3.x on-premises has officially reached its End-of-Life. Therefore, there is no longer support or updates for this version of the product. We have fully transitioned our product and development teams to focus ThreadFix SaaS and migrating all customers over from the on-premises versions. Our Customer Success and Support teams are here to help you in migrating to ThreadFix SaaS and maximizing the value you see from this improved offering from Coalfire. This is the next phase of ThreadFix and our team is looking forward to continuing to support you on this journey.

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 3 Next »

/rest/{version}/remoteprovider/remoteProviderApplication/list


Descriptor

Value

HTTP Method

GET

Description

Returns a list of Remote Provider applications as well as the applications they are mapped to.

Required Permission

Manage Remote Providers

Version Introduced2.5.0
Changes in 2.7.5Added "testEnvironment", "releaseFrequency", "isInternal", and "policyStatuses" to the REST call response.


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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


Request GET Parameters

Parameter

Value

Required

Description

teamId

Integer

No

Return only results mapped to ThreadFix applications that belong to the specified Team.

remoteProviderId

Integer

No

Return only results that belong to the specified Remote Provider.

applicationId

Integer

No

Return only results mapped to the specified ThreadFix applications.

hideMapped

Boolean

No

Default=false; Do not return results that are already mapped to ThreadFix applications.

hideUnmapped

Boolean

No

Default=false; Do not return results that lack a ThreadFix application mapping.


Sample Calls:


curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" http://localhost:8080/threadfix/rest/latest/remoteprovider/remoteProviderApplication/list



curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" http://localhost:8080/threadfix/rest/latest/remoteprovider/remoteProviderApplication/list?hideUnmapped=true&remoteProviderId=1


Sample Output:


{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": [
        {
            "id": 4,
            "nativeId": "1118",
            "nativeName": "WebGoat .NET",
            "customName": null,
            "versionsUrl": null,
            "remoteProviderEntity": {
                "id": 1,
                "name": "WHS",
                "remoteProviderType": {
                    "name": "WhiteHat Sentinel Source",
                    "id": 10
                }
            },
            "application": {
                "id": 1,
                "name": "Example",
                "url": null,
                "applicationCriticality": {
                    "id": 2,
                    "name": "Medium"
                },
				"policyStatuses": [
                    {
                        "id": 1
                    }
                ],
                "description": null,
                "releaseFrequency": "UNKNOWN",
                "testEnvironment": null,
                "isInternal": false,
                "team": {
                    "name": "Test Team",
                    "id": 1
                }
            },
            "lastImportTime": null,
            "lastImportAttemptTime": null,
            "lastImportStatus": "NOT_ATTEMPTED"
        }
    ]
}

选定的根页面无法找到。

  • No labels