Skip to content

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

  1. Authenticates every request with Authorization: Bearer <APPSPIDER_TOKEN>
  2. Gets the scan from /api/v1/Scans/{id} when APPSPIDER_SCAN_ID is set, or lists all scans from /api/v1/Scans
  3. For each scan, reads its findings from /api/v1/Vulnerabilities?scanId=<id> (200 per page)
  4. 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/Closed become 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

Notes

  • Each web host becomes a host with the IP 0.0.0.0 and 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 synthetic 0.0.0.0 host.
  • APPSPIDER_HOST can be given with or without https://. 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.