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/list

 

Descriptor

Value

HTTP Method

GET

Description

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

Restricted

True

 

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' http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/list?apiKey={apiKey}

 


curl --insecure -H 'Accept: application/json' http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/list?hideUnmapped=true&remoteProviderId=1&apiKey={apiKey}

 

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": "Test App",
                "url": null,
                "applicationCriticality": {
                    "id": 2,
                    "name": "Medium"
                },
                "team": {
                    "name": "Test Team",
                    "id": 1
                }
            },
            "lastImportTime": null,
            "lastImportAttemptTime": null,
            "lastImportStatus": "NOT_ATTEMPTED"
        }
    ]
}

  • No labels