Fortify WebInspect Enterprise Executor¶
Category: Web Application Scanners
Script: fortify_webinspect.py
Integration: REST API
Faraday Plugin: Raw JSON
Website: https://www.opentext.com/products/fortify-webinspect
Description¶
Imports the dynamic application security testing (DAST) findings of Fortify WebInspect Enterprise scans into Faraday. Findings are grouped by the website they affect: each website becomes a host and each finding a vulnerability prefixed with [DAST].
Prerequisites¶
- A Fortify WebInspect Enterprise (WIE) server reachable from the agent
- A WIE API token with permission to read scans and their vulnerabilities
Configuration¶
Environment Variables (Setup)¶
| Variable | Required | Description |
|---|---|---|
WEBINSPECT_HOST |
Yes | WebInspect Enterprise URL (e.g., https://webinspect.example.com) |
WEBINSPECT_TOKEN |
Yes | WebInspect Enterprise API token |
These variables are also accepted as execution arguments, so a single run can override them.
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
WEBINSPECT_SCAN_ID |
string | No | ID of a single scan to import (default: all scans) |
YAML Configuration Example¶
executors:
fortify_webinspect:
repo_executor: fortify_webinspect.py
max_size: 65536
varenvs:
WEBINSPECT_HOST: "https://webinspect.example.com"
WEBINSPECT_TOKEN: "<webinspect_token>"
params:
WEBINSPECT_SCAN_ID:
mandatory: false
type: string
base: string
How It Works¶
- Sends
WEBINSPECT_TOKENas theAuthorizationheader - Reads the scans from
/api/v2/scans(or onlyWEBINSPECT_SCAN_ID) - Reads the vulnerabilities of each scan from
/api/v2/scans/{id}/vulnerabilities - Groups the vulnerabilities of each scan by the hostname of the affected URL, using the scan's start URL when a finding has none
- Maps each finding to a Faraday vulnerability:
- Severity: WebInspect's severity level
- Status: removed or fixed findings become closed; false positives, ignored, hidden and suppressed findings become risk-accepted; the rest are open
- Details: request URL, method, parameter, attack string, evidence, recommendation and CWE/WASC/OWASP references
Notes¶
- Hosts use the synthetic IP
0.0.0.0, with the website hostname as hostname. - Findings without any resolvable URL are grouped under a host with no hostname.
WEBINSPECT_TOKENis sent as is. If your server needs a scheme, include it in the value (e.g.,Bearer <token>).- TLS certificates are not verified.
- The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor.