Skip to content
Maua.Culturewire

ZAP (Zed Attack Proxy)

Local ZAP DAST proxy and scanner: alerts, spider and active scan

SecurityCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • ZAP API addressRequiredHTTPS URL
    • API keySecretRequired

    Where to find them

    1. ZAP must be reachable over public https (daemon mode behind a reverse proxy with a valid certificate).
    2. In ZAP: “Tools” → “Options” → “API”: check that the API is enabled and copy the “API Key” (or set it at startup with -config api.key=…).
    3. In “Permitted addresses”, allow the IP addresses requests come from. Run spider and active scans only against targets you are authorized to test.

Tools (2)

  • ZAP (Zed Attack Proxy) API requestZAP_SEND_REQUEST

    Authenticated call to the ZAP (Zed Attack Proxy) API ({url}). Any endpoint of the API is allowed. Everything is GET (actions too). Examples: GET /JSON/core/view/sites/, GET /JSON/core/view/urls/?baseurl=https://…, GET /JSON/alert/view/alertsSummary/?baseurl=…, GET /JSON/alert/view/alerts/?baseurl=…&riskId=3&start=0&count=100 (riskId: 0 informational … 3 high), GET /JSON/alert/view/alert/?id=…, GET /JSON/spider/action/scan/?url=…&maxChildren=10 → GET /JSON/spider/view/status/?scanId=…, GET /JSON/ajaxSpider/action/scan/?url=…, GET /JSON/ascan/action/scan/?url=…&recurse=true (active scan) → GET /JSON/ascan/view/status/?scanId=…, GET /JSON/pscan/view/recordsToScan/, GET /OTHER/core/other/jsonreport/ (full report).

    Required scopes

    No scopes required

    Input

    ZAP (Zed Attack Proxy) API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Grouped alertsZAP_LIST_ALERTS

    ZAP alerts grouped by type and risk (name, risk, confidence, CWE, WASC, plugin, number of occurrences, summarized solution and example URLs with their parameter and evidence), from most to least severe and without false positives. Filters by base URL and minimum risk; the detail of an alert is requested with GET /JSON/alert/view/alert/?id=….

    Required scopes

    No scopes required

    Input

    Grouped alerts input
    NameTypeDescription
    base_urlstringOnly alerts under this URL, e.g. https://app.example.com
    min_riskstringOne of: informational, low, medium, highDefault: "low"
    examplesintegerExample URLs per alert typeDefault: 3