How to export your data from Qualys VMDR before a contract ends
If a renewal, a licensing change, a data residency requirement or a lock-in concern is pushing you to leave Qualys VMDR, the first job is to get your vulnerability history out in a usable form. Host detection history and scan results can be pulled through documented Qualys APIs and report exports, and the output can be loaded into DefectDojo so findings keep their tracking, deduplication and remediation records after the subscription ends. Start the export before you give notice, because the window to pull complete history is the time your subscription is still active.
The main data path is the Host List Detection API, which returns per-host detections, and scan result fetches, which return report output in CSV or JSON variants. Confirm with Qualys which fields, formats and report types your subscription exposes, and confirm the API rate and concurrency limits that apply to your account, since these can differ by subscription and affect how long a full pull takes. Ask Qualys whether your asset inventory export includes the tags, asset groups and host identifiers you rely on, because DefectDojo matches findings to assets and a missing identifier can break continuity. Run a small test pull for one business unit first and check the record counts against the Qualys console.
Some data will not come out through these routes. Agent telemetry from Cloud Agents, platform configuration such as scan templates, option profiles, users, roles and scheduled jobs, and some dashboards or analytics views need separate handling, and you should document each one as a gap. Keep a dated snapshot of the console configuration and of any compliance evidence you must retain, and confirm retention terms for historical data in your contract. The exact API limits and export variants must be checked against the Qualys documentation for your subscription before you plan the timeline.
Which Qualys VMDR data types export, by method and format
This table maps each Qualys VMDR data type to the export method, format and limits you should confirm before extracting history. Read it as a checklist: the DefectDojo import path is the most direct route for findings, while API output is the route for asset and detection detail that a CSV import may not carry. Confirm rate and concurrency limits for your subscription before scheduling any bulk pull.
| Data type | Export method | Format | Limits or what to confirm |
|---|---|---|---|
| Host and detection history | Host List Detection API output | API response, typically parsed into your own store | Rate and concurrency limits depend on your subscription. Confirm them in Qualys API documentation before a bulk pull. |
| Scan results | Scan result fetch through the API | CSV and JSON variants | Confirm which variant your subscription returns and whether large scans need paged or split requests. |
| Findings for DefectDojo (QID-centric) | VMDR CSV export, QID-centric variant | CSV, imported by DefectDojo's Qualys VMDR parser | Check that the export includes the QID, host and severity columns the parser expects in your DefectDojo version. |
| Findings for DefectDojo (CVE-centric) | VMDR CSV export, CVE-centric variant | CSV, imported by DefectDojo's Qualys VMDR parser | Choose one variant per import history so deduplication does not split the same finding across two formats. |
| Asset inventory | Host output in the Host List Detection API response | Host fields within the detection output | Asset fields appear only where the host output includes them. Confirm which tags, owners and asset identifiers your export carries. |
| Remediation and ticket state | Confirm with Qualys whether it is included in the API or CSV output | Not assumed to be in CSV exports | Do not assume ticket history transfers. Document it separately if your audit needs it. |
What does not export cleanly and the workaround for each
Qualys stores more than scan results. Some of what your team relies on lives in console settings, agent configuration and workflow history, and none of it arrives in a detection export. Plan a manual inventory for each item below before you cut over, and confirm each one with Qualys support against your subscription.
Saved dashboards and report templates
Dashboards, saved searches and report templates are console objects, not scan data. Export the underlying findings instead, then rebuild the views you still need in DefectDojo, where findings are grouped by product, engagement and severity. Screenshot or document each dashboard your leadership or auditors read today, so the replacement reporting has a clear target. Ask Qualys whether saved report definitions can be exported and in what format.
User roles and permissions
Qualys role assignments control who sees which assets and who can launch scans or approve remediation. These mappings do not carry over. Write down each role, the asset scope it covers and who holds it, then recreate the equivalent accounts in DefectDojo and Greenbone. Local accounts in the open-source DefectDojo edition do not include SSO, LDAP or MFA, so plan those controls separately. Confirm with Qualys which role exports, if any, your subscription supports.
Scanner appliance and scan schedules
Scanner appliance configuration, scan templates, option profiles and recurring schedules sit in the platform and do not come out with the results. Treat them as a rebuild task. Record each schedule's targets, frequency, authentication method and maintenance windows, then recreate them as Greenbone targets, credentials and tasks. Internal scans must stay authenticated with sufficient privileges under PCI DSS 11.3.1.2, so credential rebuilds need a check against that requirement.
Agent policy and Cloud Agent state
Cloud Agent installations, their configuration profiles and the last-check-in state on each laptop or server are held by the Qualys platform. Exported detections show what was found, not which agents were deployed or how they were configured. Build a list of every agent host and its policy before decommissioning, since Greenbone does not replace agent coverage on remote endpoints. Confirm with Qualys whether agent inventory exports, and plan an agent replacement for hosts that scanners cannot reach.
Tag and asset group logic
Dynamic tags and asset groups are rule sets that place assets into scopes automatically. The rules themselves are not exported, and the asset tags in a detection file reflect only the result. Document each rule in plain language, such as which subnets, operating systems or naming patterns define a group, then map those rules to DefectDojo product hierarchy and Greenbone target lists. Check a sample of assets by hand after the rebuild to confirm that they land in the same groups.
Remediation ticket history in workflows
Tickets, workflow approvals and remediation deadlines created in Qualys workflows are separate from detection records. A detection export shows that a vulnerability was present, but it does not show who accepted a risk, when a ticket was opened or what exception was approved. Export ticket data if your subscription allows it, and keep a dated record of risk acceptances in DefectDojo, where deduplicated findings can carry status notes. Ask Qualys which workflow objects are available through the API.
The export sequence and the checks at each step
This sequence turns a Qualys VMDR history into a verified, repeatable copy in DefectDojo, so each later decision about scanning and tracking rests on data you have checked. Each step closes with a comparison you can record and repeat.
Inventory subscription and asset groups
The Qualys administrator lists the subscription's asset groups, tags, scan targets and the business owner of each group, and records which groups hold cardholder or regulated systems. Confirm which fields and API permissions the export account has before anything else runs. The step is done when every asset group has a named owner and a recorded host count taken from the console, which becomes the baseline for later checks.
Choose the export path per data type
Decide which data comes from the Host List Detection API and which from scan result files, because host-level detections, scan reports and asset metadata are fetched differently. Confirm the supported output formats and the rate and concurrency limits for your subscription with Qualys before you write any script, since these limits govern how long a full pull takes. The step is done when a written table maps each data type to one export method and one owner.
Run a test export on a small group
Export one small asset group, ideally one with known findings, and load it into a scratch DefectDojo instance using the Qualys VMDR parser. Check that the CSV variant you chose (QID-centric or CVE-centric) matches what the parser expects, and note any rows the parser rejects. The step is done when the test import completes without parser errors and you can explain every difference from the console view.
Export full history for the retention window
Pull the full detection history for the retention window your audit, contract or internal policy requires, group by group, using the filters you set in step one. Run exports in a planned order so rate limits are respected and failed pulls can be retried without duplicating files. The step is done when every asset group has a complete file set and any gaps are listed with the reason.
Load a copy into DefectDojo
Import the verified files into a dedicated DefectDojo product and engagement per asset group, keeping the source file name in the engagement description so the lineage is visible. Let DefectDojo deduplicate on import, and record how many findings each import created, updated or skipped. The step is done when each product holds an import record that matches its source file.
Verify host counts, severities and sample findings
Compare host counts, finding counts by severity and total open findings between the Qualys export and DefectDojo for each group, and investigate any mismatch before accepting the copy. Then pick a sample of QIDs and CVEs from several groups and confirm each one appears in both systems with the same host and status. The step is done when the differences are either zero or explained in writing, and the reviewer signs the comparison.
Keep an export log for repeat runs
Record each export with its date, time window, filters, API parameters, file names and a cryptographic hash of every file, then store the log with the files under access control. A repeat export or an auditor's question can then be answered by showing which file was produced under which filter and whether it changed. The step is done when a second person can reproduce one export from the log alone and obtain matching hashes.
How exported Qualys files move into DefectDojo
The flow starts in the Qualys VMDR cloud platform, where the Host List Detection API and scan result exports produce files. Those files cross the trust boundary into a staging store inside your network, which should have restricted access and a retention rule. From there, DefectDojo imports the CSV variant that matches your export, either QID-centric or CVE-centric, so the import must match the format you pulled. Before you treat the migration as complete, compare finding and host counts in DefectDojo against the source records in Qualys, and keep the verification output with the migration record.
Export files cross the trust boundary into a controlled staging store before DefectDojo import.
Choosing between QID-centric and CVE-centric CSV for DefectDojo
Before you export anything from Qualys VMDR for DefectDojo, decide which CSV layout you will produce, because DefectDojo's Qualys VMDR parser accepts both a QID-centric variant and a CVE-centric variant. The first layout organizes each row around a Qualys detection (QID), so one vulnerability test on one host maps to one row. The second organizes rows around CVE identifiers, so a single QID that maps to several CVEs can appear more than once. Either way, the choice changes how findings are grouped, titled and counted after import, which affects dashboards, SLA tracking and any remediation report you build from DefectDojo. Confirm which variant your export produces and which one your reporting depends on before you run a full historical import.
DefectDojo does not compare raw rows. Each parser defines a hashcode, a set of fields that it combines to decide whether an incoming finding duplicates one it already holds. The DefectDojo parser documentation gives illustrative examples: for Tenable reports the hashcode is built from title and severity, and for ZAP reports it is built from title, CWE and severity. The point for this decision is that the fields feeding the hashcode determine whether two rows collapse into one finding or stay separate. A CVE-centric layout can produce several rows that a QID-centric layout would treat as one detection, so the duplicate count you see after import may differ between the two variants even when the underlying host data is identical.
Do not judge duplicate counts until you have checked the Qualys VMDR hashcode fields in the parser documentation for the variant you chose. Load a small test set from one or two hosts in a non-production DefectDojo instance, count findings by hand against the source CSV, and confirm that re-importing the same file does not create new findings. Record the result, because it is the evidence you will need when someone asks why the finding totals in DefectDojo differ from the Qualys console. If the counts do not match your expectations, adjust the export variant or scope before importing the full history, not after findings have already been triaged.
Which export path fits small, large and audited estates
A small estate with a limited number of assets, one console owner and modest scan history can often move its data with console-driven CSV exports. Effort is driven mainly by how many assets and detections you need to keep, how far back the history must go, and whether one person can run the export and check the row counts by hand. Manual exports are quick to start but depend on one operator remembering the steps, so the result is only as repeatable as the runbook behind it.
- Asset count and history depth: A small inventory with a short look-back period is the case where a single export per scan group is usually enough.
- Export consistency: Record the filter, date range and column set used for each export so a second run can be compared with the first.
- Row reconciliation: Compare the exported host and detection counts against the console before you load anything into DefectDojo.
- Subscription limits: Ask Qualys whether console exports are subject to the same daily or concurrency limits as API calls for your subscription.
- Data handling: Decide where the CSV files are stored, who can read them and when they are deleted.
Before relying on a manual export, confirm with Qualys which fields the CSV includes for your subscription and whether the export is complete for your full history window.
A large estate with many assets, multiple business units and years of detection history usually needs scripted pulls from the Host List Detection API. Paging through results, spacing requests to stay inside the subscription's rate and concurrency limits, and retrying safely after a throttled response all add engineering effort. The cost of this path is mostly one-time build work plus ongoing maintenance when the API or your asset groups change.
- Paging and checkpoints: Store the last processed page or timestamp so an interrupted pull resumes without duplicating or skipping records.
- Throttling: Build backoff around the limits in your subscription, and run business units in sequence rather than in parallel if concurrency is capped.
- Business unit scoping: Separate pulls per business unit or asset group so ownership and access stay aligned with your organization.
- Schedule and volume: Plan pulls outside peak scanning windows and expect the largest effort on the first full history load.
- Idempotent loading: Load into DefectDojo with stable identifiers so repeated pulls update existing findings instead of creating copies.
Ask Qualys to confirm your current API rate limit, concurrency limit and whether history depth is capped for Host List Detection calls on your subscription.
In an audited environment, the export is itself part of the evidence. An assessor may ask who pulled the data, which credentials were used, when the pull ran, and whether the file was altered after extraction. The effort here comes from access control, logging and retention design more than from data volume. Work with your compliance team to define these controls before the first production export, because retrofitting them later is harder.
- Authenticated access: Use named service accounts with the least privileges needed for reporting, and rotate their credentials under your secrets policy.
- Logging: Keep a record of each export with the requester, timestamp, query parameters, row count and a file hash.
- Retention: Set how long raw exports and their logs are kept, and align that period with your audit and vulnerability management records.
- Integrity: Store exports in a restricted location with access logs, and document any transformation applied before loading into DefectDojo.
- Scanning evidence: Confirm that exported detections can be tied back to the scan dates that support your internal scan obligations.
Ask Qualys to confirm which audit or activity logs your subscription provides for API and console exports, and check with your assessor which export format and retention they expect.
What to plan before the Qualys renewal or termination date
Most of the export work is simple once the dates are fixed. The cards below cover the decisions that set those dates: contract notice, how much history you need, how long the two scanners run side by side, and which scans must still be done by someone other than your own team.
Notice period and history deadline
Work backward from the contract end date to find the notice period and the last day you can still query Qualys. Set a deadline by which full detection history must be exported and checked, with time left for a second pass if fields are missing. Confirm the contract terms and data return provisions with Qualys and your own counsel before relying on any date in this plan.
Retention window for audit evidence
Decide how far back your audit and PCI DSS evidence must reach, since that window sets how much history you export. Ask your assessor which scan reports and remediation records they will sample, then confirm that the exported files cover that period in a form they accept. Keep the original Qualys exports unchanged so their provenance is clear.
Parallel running of Greenbone and Qualys
Plan a period in which Greenbone and Qualys scan the same targets, so you can compare findings before Qualys access ends. Differences will come from feed content, credentialed access and scan timing, so record them rather than assuming one tool is wrong. Agree in advance which scanner is the system of record for each audit period.
Internal scan cadence under 7.5 and 11.3.1
Confirm that the replacement scanning schedule meets CIS Safeguard 7.5, which asks for automated internal scans at least quarterly, and PCI DSS requirement 11.3.1, which asks for internal scans at least once every three months with rescans after high-risk and critical fixes. Check that scans run with authenticated access where PCI DSS 11.3.1.2 applies. Document the schedule and the owner of each run.
External scans that still need an ASV
Identify which external scans must come from a PCI SSC Approved Scanning Vendor under requirement 11.3.2, because a self-hosted scanner cannot replace them for cardholder data environments. Confirm the scope of your cardholder environment with your QSA or acquirer before you cancel any external scanning. Budget for ASV scans as a separate purchase in the replacement plan.
ASV directoryQuestions buyers ask before exporting Qualys data
How much effort does a full export from Qualys VMDR take?
Effort depends less on the export itself than on how much data you keep and how clean it is. The main drivers are the number of assets, how many years of detection history you need, how many export variants you pull, and how much duplicate or stale data must be cleaned before it is loaded into a new system. A team with a small, well-tagged asset inventory and a single history window will finish far faster than one with thousands of assets, overlapping asset groups and several years of scan results. Ask any provider to break its estimate down by these drivers so you can see which ones are sized in your environment.
Can our own team export Qualys data without outside help?
Often yes, if you have the right skills in-house. The work typically needs a Qualys administrator who knows the subscription, asset groups and report templates, someone comfortable scripting against the Qualys API to page through Host List Detection output and handle rate and concurrency limits, and a DefectDojo administrator who can create products, engagements and import settings. Smaller estates can often be handled by one person who covers all three roles. Larger or more regulated estates usually need more time from each role and a documented procedure that an auditor can follow.
How long does a Qualys export and import project take?
The timeline is set by the same factors as the effort, plus the time needed for approvals and testing. Key inputs are the number of assets and asset groups, the depth of history you must keep, the number of export formats you need to load, and how long your owners take to confirm which data is still valid. Scheduling also matters: exports run against your live subscription, so you will need to plan around scan windows and the limits that apply to your account. Ask for a written plan with milestones and dependencies rather than a single total, so you can see where time is spent and where a delay would come from.
What do we need to give a provider or internal team before starting?
The work needs a few concrete inputs before the first export runs. You will need API access for an account with permission to read asset and detection data, a test window on the subscription so pulls do not disrupt scheduled scans, and a named owner for each asset group who can confirm which hosts and findings are current. You should also confirm where the exported files will be stored, who may read them, and how long they must be retained. Without owners for each group, reconciling duplicate hosts and retired assets usually becomes the longest step.
How do we check that exported data matches what Qualys holds?
Verify the export against the source before you retire the original data. Compare record counts per asset group and per severity between the Qualys console or API output and the file you loaded, and spot-check a sample of hosts and detections by hand. Keep the raw export files with checksums so the same data can be reproduced later. Confirm that the fields DefectDojo uses for deduplication, such as the Qualys QID or CVE values, were imported as expected for each variant. Record the checks in writing, since an auditor will ask how you established that the migrated history is complete.
Does a Qualys export need to be validated against PCI DSS or CIS evidence requirements?
Export does not change your obligations, but it does change the evidence you can show. CIS Controls v8.1 Safeguard 7.1 asks for a written vulnerability management process reviewed once a year or after significant changes, and the scan history you keep should support that process. For cardholder environments, PCI DSS v4.x requirement 11.3.1 expects internal scans at least every three months, and the historical records you move should still show that cadence. Confirm with your assessor which records they will request and make sure the exported data retains the scan dates, scope and authentication details they need.
Should we bring in an external partner for the export?
A partner is useful when the export is large, when several teams own different parts of the estate, or when the work must be documented to a standard your auditors will accept. DeployOpen plans, implements and documents self-hosted platforms inside your own infrastructure, and most of its engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. A written scope lets you compare the work to your in-house capacity. Ask any provider to name the people who will do the export, the checks it will run, and what evidence you will receive at the end.
How DeployOpen scopes and delivers a Qualys VMDR data export
DeployOpen plans and delivers self-hosted open-source platforms inside your own infrastructure, so an export of Qualys VMDR history is treated as a scoped project with written deliverables. The work covers pulling detection and scan data out of Qualys, loading it into a self-hosted tracker, and checking the result before anything is retired.
How we scope
- Engagements are fixed-scope, with the export sources, date ranges and asset groups agreed in writing before work starts
- We confirm which Qualys API or report formats your subscription can produce, and which fields your audit evidence needs
- Scope records who holds the Qualys credentials, where exported files are stored and how long they are kept
How we build
- We run the export against your Qualys account using the agreed API or CSV methods and keep a record of each pull
- We load the output into a self-hosted DefectDojo instance deployed in your infrastructure and map it to the correct parser
- We test deduplication and finding counts against a sample of known hosts before the full import is accepted
How we hand over
- You receive written documentation of the export steps, parser settings, field mappings and known gaps in the data
- Handover includes a reconciliation report comparing exported totals with Qualys reports for the agreed period
- Access controls, backups and audit logging for the new tracker are documented so your security and compliance teams can review them
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- We can rerun exports for later periods or new asset groups under the same documented procedure
- Retainer scope is agreed in writing, including how updates to DefectDojo and the scanner stack are tested before rollout

