Rapid7 AppSpider Enterprise Executor¶
Category: Web Application Scanners
Script: appspider.py
Integration: REST API
Faraday Plugin: Raw JSON
Website: https://www.rapid7.com/products/appspider/
Description¶
Imports dynamic application security testing (DAST) findings from a Rapid7 AppSpider Enterprise server into Faraday. The executor reads the findings of one scan, or of all scans, and creates vulnerabilities grouped by the affected web host.
Prerequisites¶
- A Rapid7 AppSpider Enterprise server reachable from the agent
- An AppSpider Enterprise API token with permission to read scans and vulnerabilities
Configuration¶
Environment Variables (Setup)¶
| Variable | Required | Description |
|---|---|---|
APPSPIDER_HOST |
Yes | Base URL of your AppSpider Enterprise server (e.g., https://appspider.example.com) |
APPSPIDER_TOKEN |
Yes | AppSpider Enterprise API token |
These variables are also accepted as execution arguments, so a single run can override them.
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
APPSPIDER_SCAN_ID |
string | No | ID of a single scan to import. If empty, the findings of every scan visible to the token are imported. |
YAML Configuration Example¶
executors:
appspider:
repo_executor: appspider.py
max_size: 65536
varenvs:
APPSPIDER_HOST: "https://appspider.example.com"
APPSPIDER_TOKEN: "<appspider_token>"
params:
APPSPIDER_SCAN_ID:
mandatory: false
type: string
base: string
How It Works¶
- Authenticates every request with
Authorization: Bearer <APPSPIDER_TOKEN> - Gets the scan from
/api/v1/Scans/{id}whenAPPSPIDER_SCAN_IDis set, or lists all scans from/api/v1/Scans - For each scan, reads its findings from
/api/v1/Vulnerabilities?scanId=<id>(200 per page) - Groups the findings by the hostname of the affected URL and maps each one to a Faraday vulnerability:
- Name:
[DAST]followed by the finding name - Severity: AppSpider's severity, or the CVSS score when the severity is missing
- Status:
Fixed/Resolved/Closedbecome closed. False-positive, ignored and accepted-risk findings become risk-accepted. Everything else is open. - Details: request URL and method, vulnerable parameter, attack value, evidence, recommendation and CWE, WASC, OWASP and CAPEC references
- Name:
Notes¶
- Each web host becomes a host with the IP
0.0.0.0and the URL's hostname as its hostname. Findings without a URL use the scan's target URL. If none is available, they go to a single synthetic0.0.0.0host. APPSPIDER_HOSTcan be given with or withouthttps://. Without it,https://is assumed.- TLS certificates are not verified, so self-signed on-prem servers work.
- If the token is rejected (HTTP 401), the run stops. Other request errors are logged and that part of the data is skipped.
- The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor.