burp-headless
Configures and runs headless Burp Suite Professional / Enterprise vulnerability scans (a "Burp scan"): Pro drives scans via its local REST API, Enterprise runs CI-driven scans at scale via its server API; supports BApp Store extensions (BCheck, custom scanners) and authenticated targets via session-handling rules; exports issues as HTML / XML / CSV / JSON or SARIF. Use when the team has a Burp Suite license and wants to run a vulnerability scan with Burp - paid-tier dynamic application security testing (DAST) layered on top of OWASP ZAP.
Install with skills.sh (any agent)
npx skills add testland/qa --skill burp-headlessburp-headless
Overview
Per portswigger.net/burp/documentation/desktop/automated-scanning (opens in new window), Burp Scanner "is a web vulnerability scanning tool built into Burp Suite Professional" that maps the attack surface and identifies vulnerabilities in web applications and APIs.
How you run it headless depends on your license edition - see Step 1.
When to use
For most teams, zap-baseline + nightvision-dast cover the same surface without Burp's licensing friction.
How to use
Step 1 - License + install
Licensing (canonical, referenced elsewhere): Burp Pro is per-user desktop tooling whose headless / unattended use is constrained; Enterprise is "enterprise-enabled" and the intended fit for CI-driven scanning per burp-as (opens in new window). Verify your edition's headless / CI terms before authoring workflows.
Burp Pro: download Burp Suite Pro from portswigger.net/burp/pro; each user activates via license file. Headless invocation requires the Pro license to be valid (license-server activation for multi-user setups).
Burp Enterprise: server-side install per portswigger.net/burp/documentation/enterprise. Requires dedicated infrastructure + DB (MySQL/PostgreSQL).
Step 2 - Pro: REST API for scan control
Burp Pro exposes a REST API (when enabled in User Settings → REST API). Pattern:
# Start a scan via Pro REST API
curl -X POST "http://127.0.0.1:1337/v0.1/scan" \
-H "Content-Type: application/json" \
-d '{
"scope": { "include": [{"rule": "https://app.example.com/.*"}] },
"scan_configurations": [{"name": "Crawl strategy - fastest", "type": "NamedConfiguration"}],
"urls": ["https://app.example.com/"]
}'Returns a task ID. Poll for completion + retrieve issues:
curl http://127.0.0.1:1337/v0.1/scan/<task_id>The REST API surface is documented in Burp's User Settings → REST API → API Documentation tab.
Step 3 - Enterprise: CI integration
Burp Enterprise stores scan configurations and targets server-side and is the intended fit for CI-driven scanning: a CI script triggers a scan via the Enterprise REST API, polls for completion, downloads issues as JSON, then gates per severity. See references/enterprise-ci.md for the full workflow and a GitHub Actions example.
Step 4 - BApp Store extensions
Per burp-as (opens in new window) the "BApp Store" model - extensions distributed via the in-Burp store. Common useful extensions:
For headless / CI use, extensions can be loaded via Burp's extension config (Burp → Extender → Extensions → Add → load .jar / .py / BApp). Enterprise edition manages extension allowlists centrally.
Step 5 - Authentication via session-handling rules
Burp's session handling is rule-based (User Options → Sessions → Session Handling Rules). Each rule defines:
Macros record a multi-step login flow (visit → fill form → submit → assert success). Burp re-runs the macro mid-scan when sessions expire.
For CI/headless use, embed the configured session handling rules in the project file - Burp re-loads them on --project-file=....
Step 6 - False-positive triage (MANDATORY)
Burp's three suppression mechanisms:
| Mechanism | Where | When to use |
|---|---|---|
| Issue suppression in scan config | Scan config: "Issue types to detect" | Categorical exclusion (e.g., disable SSL/TLS issues for staging-only HTTP) |
| Custom-issue rule (BCheck) | Project: BCheck definition | Per-project pattern (e.g., suppress findings on legacy admin endpoints) |
| Server-side mark-as-FP (Enterprise) | Enterprise dashboard | Persistent + auditable |
| Pro: per-issue notes | Right-click issue → Add note | In-tool only; no audit trail |
Justification template (mandatory in BCheck or Enterprise notes):
# BCheck: suppress SQL injection finding on /search?q=
# Reason: parameter pre-validated via Joi schema (line 42)
# Reviewer: alice@example.com (2026-05-15)
# Expires: 2026-12-15
# Re-review-date: 2026-12-15
given response.body matches "alice|bob|charlie"
then
suppressCadence: Enterprise dashboard's "Resolved as False Positive" filter periodically; review for staleness. Pro requires manual notes audit.
Step 7 - Output formats
Burp Pro export: Issue → Right-click → Report selected issues → HTML / XML / CSV / Burp's own JSON.
Burp Enterprise REST API returns issues as JSON natively; aggregate it with ZAP + NightVision output for a combined verdict.
For SARIF (GitHub Code Scanning): use the BurpToSarif community converter (BApp Store).
Worked example
A team holds a Burp Suite Enterprise license and wants CI-gated coverage of app.example.com staging, layered on their existing ZAP baseline.
Result: every merge to the staging branch runs a licensed Burp scan whose findings sit alongside ZAP and NightVision output in one severity-gated verdict.
Anti-patterns
| Anti-pattern | Why it fails | Fix |
|---|---|---|
| Burp Pro headless in CI without checking license | License violation; legal risk | Verify Pro license terms; use Enterprise for CI |
| Suppress per-issue note in Pro (no audit trail) | Notes lost in repo migrations | Use BCheck rules (committed to repo) or Enterprise mark-as-FP |
| Skip session handling for authenticated apps | Scanner gets stuck on login; coverage 0% | Configure session handling rules + macro (Step 5) |
| Run Burp scan against production | Active probes corrupt data | Staging only |
| BApp Store extensions without security review | Supply-chain risk | Enterprise extension allowlist |
Limitations
References
Burp Enterprise CI integration
View source (opens in new window)Burp Enterprise CI integration
Burp Enterprise (CI-friendly) workflow:
The full CI-driven scanning model is documented per automated scanning (opens in new window) "CI-driven scanning"; consult portswigger.net/burp/documentation/enterprise for current API endpoints (the surface is stable but per-version specifics evolve).
GitHub Actions workflow (Enterprise model)
jobs:
burp-enterprise:
runs-on: ubuntu-latest
steps:
- name: Trigger Burp Enterprise scan
run: |
SCAN_ID=$(curl -s -X POST "${{ secrets.BURP_ENT_URL }}/api/scans" \
-H "Authorization: ${{ secrets.BURP_ENT_TOKEN }}" \
-d '{"site_id":42,"scan_configuration_id":7}' \
| jq -r '.id')
echo "SCAN_ID=$SCAN_ID" >> $GITHUB_ENV
- name: Wait for scan completion
run: |
while true; do
STATUS=$(curl -s "${{ secrets.BURP_ENT_URL }}/api/scans/$SCAN_ID" \
-H "Authorization: ${{ secrets.BURP_ENT_TOKEN }}" | jq -r '.status')
[ "$STATUS" = "succeeded" ] && break
[ "$STATUS" = "failed" ] && exit 1
sleep 30
done
- name: Download issues
run: curl -s "${{ secrets.BURP_ENT_URL }}/api/scans/$SCAN_ID/issues" \
-H "Authorization: ${{ secrets.BURP_ENT_TOKEN }}" -o burp-issues.jsonRelated skills
dast-scan-cadence-author
Designs an end-to-end DAST cadence for teams adopting dynamic scanning: ZAP passive baseline (PR-blocking) then ZAP full active scan (nightly on staging) then optional Burp Pro deep scan (per-release). Handles the baseline-finding ratchet for legacy apps so pre-existing findings do not immediately block PRs, plus per-tool per-run deduplication and CI workflow YAML. Use when the team is setting up DAST from scratch or restructuring scan cadence, not when tools are already running and you need to merge their output (cross-tool aggregation of existing independent runs is a separate concern).
nightvision-dast
Configures and runs NightVision white-box-assisted DAST: analyzes source code before attacking, traces every finding to its origin line, and drives coverage from OpenAPI / Postman / GraphQL specs rather than crawling. Supports Header, Cookie, TOTP, and recorded Interactive Login auth; exports findings as SARIF for GitHub Code Scanning, plus JSON, CSV, or PDF. Per-finding suppression via Alert Rules; CLI integration via the `nightvision` command. Use when source-traceable findings and spec-driven request coverage matter, not just authenticated black-box scanning (see zap-authenticated-scans for that).
nuclei-dast
Installs and runs ProjectDiscovery Nuclei template-based HTTP scanning: selects templates via `-t {path}` and `-tags`/`-severity` filters, controls request rate with `-rl`, emits JSONL output via `-j` for cross-tool finding aggregation, authors custom YAML matchers for app-specific checks, and gates CI on severity thresholds. Use when the team runs Nuclei alongside ZAP for template-driven DAST coverage, needs fuzzing-style probes beyond ZAP passive scan, or wants to operationalize community CVE templates in a pipeline.
zap-authenticated-scans
Configures authenticated DAST sessions in ZAP - ZAP Context + Authentication Method (form, JSON, script, browser-based, HTTP/NTLM), Session Management strategy (cookie, header, script), Verification Strategy (regex indicators, poll-URL), CSRF token handling, OAuth/bearer header injection, logged-in/logged-out indicator calibration, and context XML export for use with `-n` in baseline and full scans. Use when the team needs DAST coverage of authenticated routes - the most common DAST gap and the hardest DAST setup to get right.
zap-baseline
Configures and runs OWASP ZAP baseline scanning: `zap-baseline.py` Docker-packaged spider + passive scan suitable for CI gating; supports `-t target_url` + `-r html_report` + `-c config_file` rule customization (INFO/IGNORE/FAIL warnings) and Ajax spider via `-j` for JS-heavy SPAs. Passive-only; for active injection probes use `zap-full-scan.py` via zap-authenticated-scans. Accepts `-n context_file` for pre-configured auth contexts (see zap-authenticated-scans for setting up auth from scratch). Use when the user runs OWASP ZAP for pre-prod web app DAST.