Uploading Files to Fortify WebInspect
To run a scan in the command-line interface (CLI) or create a macro using the API, you must upload all scripts and their dependencies to the machine where Fortify WebInspect is installed.
Using the CLI
To run a scan from the CLI, you must manually copy the files to the machine where Fortify WebInspect is installed.
Using the API
The Fortify WebInspect REST API provides the following endpoints for deploying these files:
-
POST /configuration/selenium/folder– Upload and unzip ZIP file(s) -
GET /configuration/selenium/folder– Get a list of ZIP files that are already uploaded -
GET /configuration/selenium/file/{foldername}– Get a list of files that are contained in the ZIP file -
DELETE /configuration/selenium/folder/{foldername}– Delete the ZIP file
For details about using these endpoints, see the specific endpoint methods in the Swagger UI. For more information, see Accessing the Fortify WebInspect REST API Swagger UI.