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.

Upload Global FPR Filter Set Override - API

/rest/{version}/defaults/fprfilterset


Descriptor

Value

HTTP Method

POST

Description

Uploads a file to the Scan Upload Location, to be used as an override Filter Set for all Fortify Scans.

Required Permission

Manage FPR Filter Templates

Version Introduced2.5.1.9


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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


Request POST Data Parameters

Parameter

Value

Required

Description

file

File

Yes

The path to the file you want to upload as a Filter Set template file.


Sample Call:

curl -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST --form file=@/path/to/filtertemplate.xml http://localhost:8080/threadfix/rest/latest/defaults/fprfilterset


Sample Output:

{
  "message": "",
  "success": true,
  "responseCode": -1,
  "object": "Successfully saved FPR Filter Template."
}

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.