Migrate automated web scanning from Burp Suite to ZAP

Moving scheduled and CI web scans from Burp Suite to ZAP means rebuilding each scan as an Automation Framework plan, proving exit status gating, and bringing historical findings into DefectDojo. This page covers what moves cleanly, what needs rework and how to cut over.

On this page

Migrate automated web scanning from Burp Suite to ZAP: what the work involves

A renewal, a licensing change or a data residency requirement has pushed your team to replace scheduled and CI web scans, and the migration rebuilds each Burp-driven scan as a ZAP Automation Framework plan. The history from those scans does not need to be lost: it moves into DefectDojo, which imports ZAP XML reports and holds findings across both tools. Most of the work is scan configuration and pipeline changes, not retraining testers, because the people who run the scans already know the target applications and what counts as a real finding. The main effort falls on security engineers working with the owners of each pipeline, who know where scans run, what gates a release and which environments hold test credentials.

The short answer on effort and risk is that the cost sits in three places: authentication for each target, spider and active scan tuning against each application, and the exit status rules that decide whether a build fails. Authentication usually takes the most time, since ZAP has to log in the same way the application expects in each environment. Before you cut over, run ZAP and Burp against the same staging targets for a period and compare findings. Confirm with your own engineers how long that parallel run should last, because it depends on release frequency and how many applications are in scope.

Manual Burp Suite Professional testing is a separate decision from automated scanning. Replacing scheduled and CI scans does not require your penetration testers to stop using Burp for hand-driven work, and the trade-offs for that work are covered on the sibling pages linked from this hub. Keep the two decisions apart in your planning so that a change to scanning does not stall or force a change to manual testing. Before you start, ask the pipeline owners to list every scan job, its target, its schedule and the gate it feeds, since that list defines the migration scope. The ZAP Automation Framework documentation is the natural next read for the plan structure and the exit codes your gates will depend on.

Which Burp Suite scan capabilities map to ZAP, and which need rework

This table maps the scan capabilities a Burp Suite scheduled or CI workflow usually depends on to their ZAP Automation Framework equivalents, with a note on whether each one is clean, needs rework or is a gap. Read each row against your own Burp licence and version, because the features available differ by edition. The main takeaway is that the scan engine maps across reasonably well, while portfolio features such as CI integrations and dashboards must be rebuilt in your pipeline or DefectDojo.

CapabilityZAP equivalentStatus
Target scopeContext and include or exclude URL regex in the Automation Framework plan, plus the target URL in the spider and activeScan jobsNeeds rework: rewrite scope rules as regex and test them against the live site
Crawlingspider job (traditional spider) and spiderAjax job for JavaScript-heavy single page appsClean for standard sites, needs rework for SPAs: confirm coverage against a known route list
AuthenticationAuthentication and users sections in the context, with form-based, script-based or HTTP authentication and a session management methodNeeds rework: login flows, MFA and token refresh must be scripted or tested manually
Active scan policyactiveScan job with a named policy, scan rules enabled or disabled, and strength and threshold settingsNeeds rework: map each Burp audit setting to a ZAP rule and record the choice in version control
Report outputreport job producing XML, HTML, JSON or Markdown files, with XML feeding DefectDojo through its ZAP parserClean: confirm that the report fields your team reads are present in the chosen format
SchedulingCron or CI pipeline schedule that runs zap.sh or the stable Docker image with -cmd -autorunGap in ZAP itself: scheduling lives in your CI system or cron, so it must be rebuilt
CI gatingexitStatus job sets the exit code from scan results, with 0 for success, 1 for error and 2 for warningsNeeds rework: define thresholds for severity and confirm the pipeline treats exit code 2 as intended
Burp Suite DAST CI integrations and dashboardsNo direct ZAP equivalent in the Automation FrameworkGap: rebuild in your pipeline and track findings in DefectDojo
Burp licence and version featuresVaries by edition and release, so there is no fixed mappingConfirm each Burp feature in your own licence and version before planning the migration

Which Burp data moves into DefectDojo and which integrations to rebuild

Burp findings can reach DefectDojo through documented export paths, but Burp project files and pipeline plumbing do not move on their own. The cards below separate what can be imported, how re-imports avoid duplicates, and which triggers, credentials and API calls you must rebuild on the ZAP side.

Burp issues as XML with requests

Export issues from Burp as XML with the Base64-encoded requests and responses included, so the evidence stays attached to each finding. Confirm the exact export options available in your Burp version before you script anything, because the menu wording and format details can change between releases. Check that the XML opens in DefectDojo with the parser you intend to use, and that sample findings show the request and response data you need for triage.

Burp Suite DAST parser in DefectDojo

Burp Suite DAST reports have their own parser in DefectDojo, so use it for DAST exports rather than forcing them through a generic XML path. Import one representative report into a test scratch product first and compare severity, title and URL fields with what the Burp console showed. Record which parser and version you used, because the mapping is the part most likely to need correction during cutover.

ZAP parser docs

Deduplication with per-parser hashcode fields

DefectDojo identifies duplicates with hashcode fields defined per parser, such as title, CWE and severity for ZAP reports. Re-importing the same scan therefore updates existing findings instead of creating copies, but only when the ZAP titles and CWE values stay consistent with the findings you already hold. Before cutover, run a ZAP scan against a staging target and check how many findings match Burp records by title and severity, so you know what your deduplicated count will look like.

Saved Burp project files stay in Burp

Saved Burp project files are not converted into DefectDojo findings or ZAP sessions. Keep them under your retention policy as Burp artifacts, and treat the exported XML as the record that moves forward. Ask your testers which projects contain findings still under remediation, since those are the ones that must be re-imported or re-triaged in DefectDojo before the old project is archived.

Rebuilding CI triggers and scan credentials

Scheduled Burp DAST runs usually start from a pipeline trigger or console schedule, and that trigger does not transfer to ZAP. Recreate each trigger in your CI system to run the Automation Framework plan, and store the login details for authenticated scans in your CI secrets store with the same scope and rotation rules you use for other service accounts. Confirm the target environments and test accounts with the application owners before moving any schedule.

Pushing results through DefectDojo API v2

Use the DefectDojo REST API v2 from the pipeline to upload ZAP results after each scan, so findings land in the correct product and engagement without manual steps. Create a dedicated API token with the narrowest permissions the upload needs, and document which product and engagement names the job writes to. Test the upload with a non-production product first, then confirm that failed uploads fail the pipeline visibly instead of passing silently.

DefectDojo README

The migration sequence from inventory to Burp decommission

This sequence moves scheduled and CI web scans from Burp Suite to ZAP one stage at a time, so each stage produces evidence that the replacement finds what Burp found before any gate depends on it. Each step ends with a written output that the next step relies on.

  1. Inventory every Burp scan job

    The security engineering lead, with the owners of each pipeline and scheduler, lists every Burp Suite DAST or Professional job that runs on a schedule or in CI. For each job, record the target URL, the authentication method (form login, token, SSO, or session scripts), the scan configuration, the gate rule that fails a build, and who receives the output. Confirm the list against the scheduler and pipeline configuration, not memory. The output is a single inventory sheet with one row per job and a named owner for each row. The step is done when every pipeline that calls Burp has a row and no job is marked unknown.

  2. Pilot one low-risk target in ZAP

    Choose one non-production target with a stable login flow and rebuild its scan as a single ZAP Automation Framework plan, with spider, activeScan and report jobs in one YAML file. Run it with the -cmd and -autorun options inside the stable ZAP Docker image so the run matches what CI will do. Check that authentication actually logs in, that the spider reaches the pages the Burp job covered, and that the report is written to a known path. The output is a versioned plan file and one completed run log. The step is done when the authenticated pages appear in the ZAP run and the failure modes (bad login, unreachable target) produce a clear error.

  3. Run both scanners in parallel

    For a fixed period agreed with the application owners, run the existing Burp job and the new ZAP plan against the same targets. Import both outputs into DefectDojo: the Burp issue export through its Burp parser and the ZAP XML report through its ZAP parser, which accepts reports with or without requests and responses. Use DefectDojo's deduplication to compare findings by title, severity and CWE rather than by raw count, and review each finding that appears in only one tool. Record the reasons for each difference, such as scope, authentication, or scanner rules. The output is a reconciliation list signed off by the application owner. The step is done when every one-sided finding has a recorded reason.

  4. Move gate handling into CI

    Update each pipeline so the ZAP plan's exit status decides the build. Exit code 0 means success, 1 means an error in the run, and 2 means the scan finished with warnings. Use an exitStatus job in the plan if the gate should fail on specific scan results, and set the CI rule for each code explicitly so a warning does not silently pass or block a release. Test each path by forcing a failure, such as an unreachable target, and by seeding a known vulnerability in a test application. The output is updated pipeline definitions and a short record of how each exit code is handled. The step is done when the gate behaves as the inventory from step one says it should.

  5. Decommission Burp jobs and archive exports

    Once the parallel period closes and the gates are owned by the new plans, disable the Burp schedules and remove the Burp steps from pipelines, keeping a dated change record for each one. Export the final Burp project files and issue reports for the retention period your policy sets, and store them in the same controlled location as other security records. Confirm with the license administrator that no Burp Suite DAST jobs still consume seats or scanner capacity. The output is a decommission record that maps each retired job to its ZAP replacement and archive location. The step is done when the inventory has no active Burp rows and the archive has been verified to open.

How the migration differs for CI-first teams and scheduled-scan teams

Teams whose Burp scans already gate builds usually care most about exit behavior and merge speed. The first job is to reproduce the gate, not the scan. Build a ZAP Automation Framework plan that runs against a test deployment in the pipeline, then decide what a failing result should do to the build before tuning any rules. ZAP's automation plans return exit code 0 on success, 1 on error and 2 when warnings are present, and an exitStatus job can set the code from scan results, so the gate logic needs an explicit decision.

  • Pipeline image: Use the stable ZAP Docker image so the runner does not need a local Java install, and pin the tag your team has tested.
  • Gate thresholds: Map each current Burp blocking rule to an exitStatus condition, and agree on which warnings should only report.
  • Ephemeral targets: Point the plan at a disposable environment that the pipeline deploys, so scan state does not leak between branches.
  • Report upload: Send the ZAP XML report to DefectDojo from the same job so findings are tracked after the build finishes.
  • Runtime budget: Measure how long the plan takes on your own runners before you set timeouts, since the duration depends on your application and hardware.

Before cutover, confirm that the gate fails on the same seeded vulnerability in both tools and that your pipeline runner can reach the target without manual steps.

What drives the cost and duration of the ZAP rebuild

This table lists the main factors that move the effort of rebuilding Burp scans as ZAP plans, with the reason each one changes cost and how to keep it down. Use it to shape the written scope you request, since most of the total depends on how many jobs, logins and pipelines are involved rather than on the tool itself.

DriverWhy it changes cost or effortHow to keep it down
Number of scan jobs and targetsEach target needs its own context, spider scope, active scan policy and report job, so effort grows with every separate application or environment.Group targets with shared settings into one plan where practical, and retire scans that no longer run or no longer matter.
Authentication complexitySession handling, MFA and SSO-protected apps usually need custom scripts or token handling in the plan, and this is often the largest single engineering item.Inventory every login method before estimating, and prefer a test account or service identity that avoids MFA prompts in unattended runs.
Size of the web app and API surfaceLarge single-page apps and API-first services need more spider and API definition work, and scan runtimes lengthen, which affects how many pipeline slots are needed.Limit scope to in-scope hosts and paths, provide API definitions where they exist, and set realistic scan limits.
Number of pipelines calling the scannerEach CI pipeline that starts a scan needs its own job wiring, secrets handling, exit status rules and failure triage, so repeated pipelines multiply the work.Standardize one template for plan invocation and exit codes, then reuse it across pipelines.
Volume of historical Burp findingsImporting past findings into DefectDojo requires exporting, mapping and checking duplicates, and large or inconsistent histories take longer to reconcile.Decide which historical findings matter for tracking, import only open or recent ones, and document what was left behind.
DefectDojo deployment workStanding up and hardening the DefectDojo instance, setting up accounts, parsers and retention, is a one-time build, and the instance then needs ongoing hosting and upgrades.Confirm whether the open-source edition meets identity needs, since SSO and MFA are listed as Pro features, and budget the upgrade cycle from the start.
Scanner infrastructureZAP runs on Windows, Linux or macOS, or as Docker images, and the Windows and Linux versions need Java 17 or higher, so runner images and host baselines must be prepared and kept current.Use the stable Docker image in CI where possible, and confirm the Java 17 requirement on any Windows or Linux host before scoping.
Parallel-run period and retrainingRunning Burp and ZAP side by side to compare findings adds licence and engineering time, and engineers need training on plan syntax and triage.Set a fixed comparison window with agreed success criteria, and record the differences so the parallel run ends on a decision.

What usually goes wrong when scan jobs move to ZAP

Moving scheduled scans from Burp Suite to ZAP changes how logins, pass or fail decisions, API access, findings imports, scan records and target lists behave. Each of these six risks tends to surface only after the first unattended runs, so the checks below should be built into the migration before the old Burp jobs are switched off.

Login works manually but not unattended

A session that a tester logged into by hand in the ZAP desktop often depends on cookies, tokens or a browser state that a scheduled run never has. Unattended plans need an authentication method defined in the plan itself, such as a script-based or form-based login with a verified logged-in indicator and a logout pattern that the scan avoids. Check that the active scan reports authenticated pages in its results, not only the login page, and that the session recovers after a token expires during a long run.

Automation Framework docs

Exit status misreads results

The Automation Framework returns 0 on success, 1 on error and 2 when the run finishes with warnings, and an exitStatus job can turn scan results into the exit code. A rule set too loosely lets serious findings pass the build silently, while a rule that treats every warning as a failure can stop releases for low-value noise. Agree the severity thresholds with the application owners, test the rule against a known vulnerable target, and confirm that the pipeline reads the code the job actually returns.

Documented exit codes
0, 1, 2
Exit status rules

ZAP API reachable beyond the scanner

ZAP's API exposes nearly everything the desktop does, including the active scanner and spider, and it is enabled by default in daemon and desktop modes. By default it is reachable only from the machine running ZAP, but a container with published ports, a host bound to all interfaces or a shared CI runner can widen that reach. Keep the API key in the CI secret store, do not publish the API port, restrict network access to the pipeline network, and confirm the setting with a connection test from a second host.

ZAP API docs

Duplicate findings after re-imports

Each scheduled run that imports its ZAP XML into DefectDojo can create a new copy of findings that already exist, which inflates counts and slows triage. DefectDojo deduplicates ZAP findings using a hashcode built from title, CWE and severity, so a changed severity or a renamed alert can break the match. Decide before go-live whether each engagement re-imports with a deduplication setting or reuses one test, and check the counts after two consecutive runs against the same target.

DefectDojo ZAP parser

Scan history lost in the switch

Burp Suite project files and issue exports hold the evidence that auditors and developers ask for after a finding is closed, and those files can be large. If the Burp jobs are turned off without an export, the last known state of each target may exist nowhere in the new stack. Before cutover, export the Burp issues with their requests and responses, load them into DefectDojo as a separate engagement, and store the raw files in a retention location with a documented owner and retention period.

Scope drift as targets change

A ZAP plan only scans the URLs and contexts it lists, so new applications, renamed hosts and new API versions can go untested without anyone noticing. Scope drift also happens when an old target is kept in the plan after it is retired, which wastes scan time and produces findings nobody owns. Tie each plan to an asset inventory, review the target list when a release adds a host, and have the pipeline fail or flag a plan whose target no longer responds.

How the ZAP plan, CI job and DefectDojo fit together

The pipeline starts with a CI trigger or schedule that launches the ZAP stable Docker image, which reads one YAML Automation Framework plan. The plan runs the spider, activeScan and report jobs against the target application, and an exitStatus job sets the code the pipeline receives: 0 for success, 1 for error, 2 for warnings. The XML report then goes to DefectDojo, where deduplication groups repeat findings. Check that the scanner network can reach the target, and that the API key and report files stay inside the boundary.

Scheduled or CI-triggered ZAP run, gated by exit code, feeding DefectDojo.

Questions teams ask before moving Burp scans to ZAP

How much effort does rebuilding Burp scans as ZAP plans take?

The effort depends mostly on how many scan targets you have, how each one authenticates, and how much custom scan configuration your Burp setup carries. Each scheduled or CI scan has to be rebuilt as a ZAP Automation Framework plan, which is a single YAML file made of jobs such as spider, activeScan and report. Login handling is usually the largest item, because session-based or multi-step authentication must be reproduced and verified before any scan result can be trusted. Other drivers are the number of pipelines that call the scanner, how many custom scan settings you tune, and how much report and gating logic you need to rebuild. Ask any provider for a written breakdown by target and by pipeline, with a clear statement of what is included in the scope.

How long should a parallel run of Burp and ZAP last?

A parallel run should last until the ZAP plans produce results you have checked against known Burp findings across enough scan cycles to cover your normal release and schedule patterns. What decides the length is the release cadence of each application, whether scans run on a schedule or on each build, and how often the target changes. Compare both tools on the same targets, record findings that appear in only one tool, and confirm whether each difference is a real gap or a configuration issue. Keep Burp running until the gaps are understood and the authentication paths are confirmed in every target. Agree the exit criteria in writing before the run starts so that the decision does not depend on who is most comfortable with the old tool.

Can our engineers do the migration with the ZAP documentation alone?

A team with a DevOps engineer and an application security engineer can often build simple plans from the official documentation, especially for public targets without complex login. The documentation covers the Automation Framework, the API, and the stable Docker images, and the ZAP API returns results in JSON, XML or HTML. The harder parts are authenticated scans, tuning the active scanner to avoid breaking targets, and designing exit status rules that gate builds without blocking releases for noise. Those tasks need time from people who know the applications, and that time competes with other work. Decide which part your team will build, which part you need help with, and how the handover will be documented so that someone other than the original author can maintain the plans later.

What do we need to provide for a ZAP migration?

The work needs four things from your side: access to the CI system and the places where scans run, test credentials with the privileges each scan must use, a current list of targets with their owners and environments, and admin rights in DefectDojo to create products, engagements and import settings. Test accounts should be dedicated and not shared with real users, and you should confirm how their sessions expire. The target list should state which hosts are production, staging or internal, because active scanning can affect the application. Ask the provider to confirm which of these items they need before work starts, and to put the access model and approval steps in the written scope.

Can historical Burp findings be imported into DefectDojo, and what is lost?

Yes, in part. DefectDojo has a parser for Burp Suite DAST reports, and it can import ZAP XML reports with or without requests and responses. Saved Burp project files cannot be loaded into DefectDojo directly, so you first export issues from Burp as XML, which includes Base64-encoded requests and responses when you choose that option. Findings created by different tools will not match each other automatically, because DefectDojo deduplicates using per-parser fields such as title and severity or title, CWE and severity. That means some older findings may appear as new items or as duplicates, and tester notes or workflow states from Burp are not carried across. Confirm the export options and parser behavior with a test import before committing to a full historical load.

Does ZAP meet PCI DSS requirements for web scanning in place of Burp?

ZAP is a scanning tool, and it can support your vulnerability management process, but it does not change which scan types PCI DSS requires or who must perform them. PCI DSS v4.x requirement 11.3.2 requires external scans by a PCI SSC Approved Scanning Vendor for cardholder data environments, so a self-hosted tool cannot replace those scans. Internal scans under requirement 11.3.1 can be performed by qualified, independent testers, and requirement 11.3.1.2 requires internal scans to be authenticated with sufficient privileges. Confirm with your assessor how they will accept the evidence, including scan configuration, schedules and results, before you change the process. DeployOpen prepares systems and evidence for assessments but does not issue audit reports or certifications.

What should we check before switching off Burp scans in CI?

Check that every target scanned by Burp now has a ZAP plan that has run successfully in the pipeline, that authenticated paths reach the same pages as before, and that the exit status rules match the gating decisions your release process relies on. Confirm that reports are sent to DefectDojo with the right product and engagement names, and that duplicates behave as you expect. Review the rules for stopping a build, since ZAP exits with 0 on success, 1 on error and 2 when warnings are present, and an exitStatus job can set the code from scan results. Keep the Burp configuration and scan records archived for the retention period your policy requires, and record who approved the switch.

What a fixed-scope migration covers before work starts

Before any ZAP plan is written, the scope of the migration is agreed in writing, and that document is what determines the work, the deliverables and the timeline. For this migration, the written scope should list each scan job being moved from Burp Suite, including which scheduled and CI scans run, which targets they hit, and whether each target is internal, externally exposed or inside a cardholder data environment. It should name every authentication method in use, such as form login, token or session handling and single sign-on, because those are the parts of a ZAP Automation Framework plan most likely to need custom work. It should also name the pipelines that trigger scans, the exit status rules that will gate builds, and the parts of DefectDojo that receive results, including how existing findings are imported and which product and engagement structure is used.

Two kinds of work are often confused with this migration and should be scoped separately if the client needs them. Manual testing in Burp Suite Professional, including project files, extensions and tester workflows, is a different activity from rebuilding automated scans, and tester retraining on ZAP is a separate training effort with its own schedule. Decide early which of these are in the written scope, because a team that expects them to be covered by a scan migration will find gaps after work has started. The scope should also state the assumptions the work depends on, such as access to the target environments and the people who can approve test accounts.

Licence and version facts belong to the client, not to the migration scope. Confirm with your own Burp Suite vendor which product, edition and licence terms apply to your current use, including whether Burp Suite DAST is in use, and whether any contract terms affect how you retire or retain those tools. Confirm the ZAP version, Java runtime and Docker image you plan to standardize on against the ZAP download page and your own image policy before the scope is signed. Ask for a written list of which facts the client must verify, who verifies each one and by what date, so that the scope, deliverables and timeline rest on confirmed information.

How DeployOpen plans, runs and supports the ZAP migration

DeployOpen plans and implements self-hosted open-source platforms inside the client's own infrastructure, and this migration follows the same written-scope approach. The work covers rebuilding scheduled and CI web scans as ZAP Automation Framework plans, with findings routed into DefectDojo so teams keep their tracking history.

How we scope

  • Inventory every Burp Suite scan job, target, schedule and pipeline that runs today, including who receives the reports.
  • Agree in writing which applications, authentication flows and exit status rules the ZAP plans must reproduce.
  • Confirm where ZAP and DefectDojo will run, and which teams own the scan targets and the findings afterward. Engagements are fixed-scope.

How we build

  • Write ZAP Automation Framework plans in YAML covering authentication, spider, active scan and report jobs for each target.
  • Configure exitStatus rules so pipelines fail on the severities the client defines, and test the behavior against known findings.
  • Set up the ZAP stable Docker image and DefectDojo imports, then check deduplication on a sample of historical Burp findings.

How we hand over

  • Deliver the plan files, pipeline definitions, runbooks and an import procedure for moving historical Burp Suite findings into DefectDojo.
  • Document the API key handling and access controls for the ZAP API, which is reachable only from the host running ZAP by default.
  • Walk the client's engineers through each plan, including how to read exit codes and where findings appear in DefectDojo.

How we support

  • Ongoing support, upgrades and continuous testing of the ZAP and DefectDojo stack are available as a retainer.
  • Support can cover ZAP version upgrades, plan updates when applications change, and review of new release notes.
  • Ask any provider to confirm response times and upgrade responsibilities in the written quote before work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.