OBLYTECH Logo
OBLYTECH Logo

Split Qualys detections by vulnerability instance

To split Qualys detections by vulnerability instance in Vulnerability Response, set the Include proof VI key field to true on the Qualys Cloud Platform record in the Third-party Integration table, then run the Qualys Host Detection Integration. Each detected vulnerability instance becomes its own Vulnerable Item (VIT), split on the proof data in the scan payload.

Why split Qualys detections by vulnerability instance

A detection is one distinct occurrence of a vulnerability as a scanner reports it. A Vulnerable Item is created or updated when an imported vulnerability matches a configuration item (CI) in the CMDB, and each VI is keyed to one CI and one vulnerable entry. When several instances of the same vulnerability sit on one CI, they can end up behind a single record. Splitting gives each instance its own VIT, which can be assigned and tracked separately.

For background, read the plain-language guide to Vulnerability Response.

Roles and prerequisites before you split

Each step below names the role it needs.

  • admin enables detection splitting and changes the XML Format import property.
  • sn_vul.vulnerability_admin (or the deprecated sn_vuln.admin) verifies integration run records and runs the Knowledge Base troubleshooting steps.
  • sn_vul_qualys.admin edits Qualys transform maps.

Before a first import, add the people who will run and review the integration to the admin, sn_vul.vulnerability_admin and sn_vul_qualys.admin roles. Leave the run-as user on each integration record at its default of VR.System, and do not change it. Have your Qualys server URL and credentials ready, and confirm the credentials can retrieve knowledge, scan and detection information for your Qualys subscription.

Size the first import to your instance. An undersized instance can produce long load times, so check your sizing against the number of vulnerable items you expect. Set the Start time on the Host Detection List Import integration a few hours or days back, ideally to the date of your last Qualys scan, and use filters to limit the first import. If you do not know the size of your instance, contact Customer Service and Support. For the order of rollout tasks, see the implementation roadmap. For help planning this work, see ServiceNow implementation.

Turn off any vulnerability calculator you do not use, and disable notification business rules before the initial import. Calculators run each time a vulnerable item is created or updated and can slow the first load, and the notification rules can generate a large number of messages during it.

The Qualys scanners are deactivated by default, and while they stay deactivated the Rescan button does not appear on vulnerable items or remediation tasks that use Qualys as a source. Activate the scanner under All > Vulnerability Response > Vulnerability Scanning > Scanners, using a user with sn_vul.vulnerability_admin. Select the Active check box, then select Update. The Rescan button becomes available after the next import.

Turn on detection splitting for the Qualys integration

The split is controlled by one field on the Qualys integration record. Follow these steps:

  1. Navigate to the Third-party Integration table [sn_sec_int_integration].
  2. Open the record for Qualys Cloud Platform.
  3. Set the Include proof VI key field to true.
  4. Save the record.

The Qualys payload carries detection data together with proof details. The import reads each path in the proof to identify and split vulnerability instances, and the output tag in the payload shows where the vulnerability sits.

Detection keys are a separate setting. In the Brazil release, Detection Key Configuration lets you choose Asset ID or Configuration Item as the basis of the detection key, and a scheduled job can apply a revised key to existing detections. Check that setting before you change any QID exclusions, because it determines how detections are uniquely identified. When a split behaves unexpectedly, compare the proof on both detections first.

Exclude QIDs from splitting

Some QIDs return enough findings that splitting them creates a large volume of records, so the application lets you exclude them. Exclusions are set in the system property sn_vul_qualys.skip_split_detection_ids.

  1. Open the system property sn_vul_qualys.skip_split_detection_ids.
  2. In the Value field, enter a comma-separated list of the QIDs to exclude.
  3. Save the property.

Four QIDs are excluded by default: QID-989920, QID-993308, QID-5001711 and QID-5001632. Copy the existing value before you edit it, so you can compare against the defaults later. An excluded QID is not split, so add one only when the volume of its findings outweighs the need for instance-level records.

Confirm the proof key list before the next run

The Proof Key Vulnerability List table [sn_vul_proof_key_vulnerability_list] shows the QIDs that the split works on. Open it and confirm that each QID you want split appears in the list. Check this before the next run, because the run is what writes the instance-level records. Test with one QID whose instances you can verify by hand, then widen the list.

Run the integration and check the split

Run the Qualys Host Detection Integration. When it completes, detections are split on proof and each vulnerability instance has its own VIT. Open the Vulnerability Item Detections table [sn_vul_detection_list] and confirm that each detection appears as a separate record.

Next, check the run record. Navigate to Qualys > Qualys Vulnerability integration > Primary Integrations and choose Qualys Host Detection Integration or Qualys Comprehensive Host Detection Integration, then confirm that the run completed successfully. The guide to verifying integration run records covers the run record in more depth.

How detections, VIs and reopening interact

A detection is a single occurrence of a vulnerability as reported by a scanner, and a VI’s state follows the state of its detections. Detections are opened or closed only by data a scanner reports directly.

By default, a VI aggregates values from its initial detection. The system property sn_vul.show_last_open_detection changes that. It defaults to false, and it has been in the base system since Vulnerability Response 21.1.2. When it is set to true, each VI is updated with its last open detection after an ingestion, including the IP address, SSL, Port, Protocol, NetBIOS and Proof fields. Read those values on the Last Open Detection tab of the VI form view. The scheduled job Update Last Open Detection Value To VITs can be run on demand to apply the setting to VIs opened in the past year.

A VI set to Resolved that has not moved to Closed/Fixed is reopened when a rescan detects it again. Closed VIs with a substate of Fixed, Stale or CI Decommissioned reopen when a new detection matches them.

Troubleshoot Qualys import problems

Each item below pairs a symptom with its fix.

Attachments missing after an import

Check IP access restrictions first. Attachments can stay hidden from users who sign in from an address outside the safe list, so add the users who need them to the safe list before the import runs. Each import adds a new attachment, so a repeat import can leave duplicates to remove.

Changing transform maps

Most transforms for the Qualys integration are scripts intended for internal use, and deleting them is not recommended. Changing a script takes coding or advanced ServiceNow or Qualys integration expertise, and the change needs the sn_vul_qualys.admin role. The remaining transforms are field maps.

Large XML attachments fail to import

Navigate to All > System Properties > Import Export, scroll to Import Properties > XML Format, and if necessary set the value to 250. This change needs the admin role.

Severity levels from Qualys

Qualys severity levels are converted to standard ServiceNow severity levels by normalized severity maps. Those maps are installed in the Vulnerability Response Normalized Severity Mapping module during installation. Review them there when a severity looks wrong after an import. For a wider list of setup pitfalls, see the guide to common Vulnerability Response mistakes.

Knowledge Base integration fails on payload size

Ensure the payload attachment is within the specified limit, using a user with sn_vul.vulnerability_admin. Navigate to All > Qualys Vulnerability Integration > Integration Instances, open the Integration Instance Parameters tab, and set max_delta_days to 3. If the integration still fails, open Qualys Knowledge Base under All > Qualys Vulnerability Integration > Primary Integrations, set its Start time to the current date to skip that day’s run, then set kb_backfill_full_import to true on the Integration Instance Parameters tab. Running the Qualys Knowledge Base Backfill integration then updates the third-party entries that the Host Detection integration creates as placeholders.

Release differences to check on your instance

The split procedure reads the same across the Yokohama, Zurich, Australia and Brazil releases. The Brazil version is dated September 10, 2026. Confirm your instance release before you follow the steps.

The Qualys Integration Run Status dashboard is available in the New Experience UI from version 19.0 of Vulnerability Response, and it shows run status for the last 30 days.

Questions about Qualys split counts and run status

Why do the updated counts look higher than the number of unique records?

The Updated items column counts each time a record is updated during a run. If one Vulnerable Item changes twice in the same run, it counts as two updated items. The Unchanged items column shows records that already existed and were not changed.

How do I create vulnerable items from fixed detections?

Under Import Settings in Host Detection Configuration for the Qualys Vulnerability Integration, enable the option to view fixed Qualys vulnerability detection records. Once it is enabled, vulnerable items can be created from detection records in a Fixed state.

Why does a Qualys integration run not appear on the run status chart?

The run count is displayed only for integrations in the active state. Set the state to active under Qualys Vulnerability Integration > Administration > Primary Integrations. Runs that return zero for New CIs, Existing CIs, New Items and Updated Items are filtered out of the Qualys Integration Runs list.

Why do detection counts change while a run is still going?

The count can shift while the integration is in progress, so wait for completion before you compare figures. After the run finishes, the Till date count column reports the detection count in the instance.