ServiceNow and Qualys Integration Guide
Why ServiceNow and Qualys Integration Matters
Qualys is a vulnerability management platform that scans systems and identifies security weaknesses. ServiceNow manages IT operations and change management. Integrating them creates visibility: when Qualys discovers vulnerabilities, that information can automatically flow into incident management, problem management or security workflows. This integration connects security findings to operational response, ensuring vulnerabilities don’t sit unaddressed.
Many organisations struggle with the gap between security scanning and operational response. Qualys finds vulnerabilities; operations might not know about them or might deprioritise them against other work. Integration bridges this gap by making vulnerability information visible in the operational system that manages work prioritisation, ensuring security issues get appropriate attention.
Common Integration Patterns
Inbound integrations pull vulnerability data from Qualys into ServiceNow. When Qualys completes a scan, it can automatically create incidents or problems for critical vulnerabilities, or update existing records if they’re already tracked. This inbound flow keeps the operational system current with the latest security findings.
Outbound integrations send remediation information back to Qualys. When an operations team fixes a vulnerability, that information can be sent back to Qualys so both systems have consistent state. This bidirectional flow ensures that teams using either system see accurate information.
Data Ownership and Synchronisation
A key decision is determining which system owns each piece of data. Typically, Qualys owns vulnerability discovery data: what was found, when it was found, technical details. ServiceNow owns remediation tracking: what was done, when and by whom. This split prevents conflicts: if both systems tried to update the same field, synchronisation becomes complicated.
Synchronisation strategy depends on your separation. If Qualys owns vulnerability details, ServiceNow should probably pull those details periodically rather than trying to keep them in sync constantly. If ServiceNow owns remediation status, Qualys should poll ServiceNow periodically to see what’s been fixed. This approach prevents conflicts and keeps both systems as sources of truth for their respective data.
Authentication Approaches
Qualys and ServiceNow use different authentication mechanisms. Qualys typically uses API credentials (username and API key). ServiceNow uses OAuth or basic authentication for API calls. The integration requires translating between these mechanisms: storing Qualys credentials securely and using them to authenticate API calls from ServiceNow to Qualys.
Most organisations store credentials in ServiceNow’s credential storage and reference them in integration calls. This approach keeps credentials secure and allows credential rotation without changing the integration code. Some organisations use API gateways or middleware to handle authentication translation, especially if they integrate multiple tools.
Monitoring and Failure Handling
Integrations fail sometimes: network problems, API timeouts, credential expiration or data inconsistencies all happen. Good integrations have monitoring that detects failures and alerts administrators. ServiceNow provides integration monitoring tools: you can track how often integrations run, how many records they process and whether they’ve failed.
Failure handling strategies vary. Some organisations retry failed transfers automatically; others create alert tickets when transfers fail and let teams investigate. The strategy should match your business requirements: if vulnerability data must be current, implement automated retries and close monitoring. If delays are acceptable, simpler failure handling may suffice.
Integration Design Checklist
Before implementing, plan these details. First, decide data ownership: which system owns vulnerability findings, which owns remediation status? Second, choose synchronisation approach: one-way or bidirectional, real-time or periodic? Third, plan authentication: how will you securely manage credentials? Fourth, define failure handling: how will you detect and respond to sync failures?
Fifth, plan data mapping: which Qualys fields map to which ServiceNow fields? What do you do if fields don’t match exactly? Sixth, test thoroughly with sample data before going live. Seventh, plan monitoring: what metrics matter, what should trigger alerts? Eighth, document the integration so others understand how it works and can troubleshoot issues.
Common Pitfalls and Solutions
A common pitfall is creating incident records for every vulnerability without filtering. Most organisations should only create incidents for vulnerabilities above a certain severity threshold. Another pitfall is creating duplicate records when the same vulnerability is found multiple times. Use deduplication logic to update existing records instead of creating new ones.
Credential management mistakes cause integration failures. Storing credentials in plain text, using shared credentials, or allowing credentials to expire without notice all cause sudden integration breakage. Use secure credential storage and set up alerts for credential expiration. Regular testing of integrations catches failures before they affect production.
Deciding what a scan finding becomes inside ServiceNow
A vulnerability scanner produces findings in volume, and many of them describe the same weakness on many machines. The first design decision is the unit of work. One record per finding per host gives an accurate count and an unmanageable queue. One record per vulnerability across an application group gives a short queue and a fix that is hard to assign. Many teams settle on a grouping by the owner of the fix, such as a patch group, a platform team or a business application, with each host listed underneath. Settle this before the first import, because changing the unit later rewrites every open item.
| Grouping unit | Good for | Breaks down when |
|---|---|---|
| One item per host and finding | Exact counts for audit evidence | A single patch cycle creates a very large number of items |
| One item per finding across hosts | Assigning a single fix to one team | Hosts in the group have different owners |
| One item per owner and finding | Routing work to the people who can act | Owners change faster than the import schedule |
Whatever unit is chosen, the import should keep a link back to the raw finding identifier from the scanner. Without it, a later scan cannot say whether an item was fixed, accepted or simply missed, and the item cannot be closed with evidence.
Matching hosts to configuration items without creating ghosts
A finding is useful only when it lands on the right configuration item. Scanners often identify a host by address, while the configuration database may hold the same machine under a name, a cloud instance identifier or an old address from a previous network. A poor match creates a second record for the same machine, and the vulnerability then sits on the ghost while the real item looks clean. Match on the most stable identifier available, and keep the match rule written down so that the people who review unmatched findings know what to check first.
Unmatched findings deserve their own queue. A host that a scanner can see but the configuration database cannot is itself a finding about asset management, and it should be routed to the team that owns discovery rather than to the patch team. Duplicate control in the configuration database also affects how often this happens, so the reconciliation rules that prevent duplicates are worth reading first.
A prioritization method that does not depend on one score
A severity score from the scanner is a starting point, not a priority. Priority should combine the severity with whether the vulnerability is exposed, whether the host sits in a business-critical service, and whether a fix is available that can be applied without a long outage. Write the combination as a small matrix that the service owners have agreed, rather than as a formula nobody can explain in a review. The matrix will need to be revisited when the threat picture changes, so give it an owner and a review date.
- Import findings into a staging area and check the match rate for the scan before any work item is created.
- Group the matched findings by owner and fix, and drop duplicates that a previous scan already opened.
- Apply the agreed priority matrix to set the due date on each group, and record which rule set the date.
- Route each group to its owner with the list of hosts, the fix and the verification method.
- Run a verification scan after the fix window closes, and close items only on a clean verification result.
- Send anything that cannot be fixed in time to a formal risk acceptance with a named approver and an end date.
Exceptions, false positives and the difference between them
Teams often mix two outcomes that should be kept apart. A false positive means the scanner was wrong, and the fix is to tune the scan or document the reason. A risk acceptance means the finding is correct, the fix is not possible yet, and someone with authority has accepted the exposure for a period. Treating a risk acceptance as a false positive can hide real exposure from the risk register, and it is a pattern an auditor will look for first. For who should sign each kind of decision, see the risk management accountability approach.
Keep the acceptance time-bound. An open-ended acceptance is a decision that nobody revisits. Set the end date when the acceptance is approved, and make the expiry raise a new work item so that the exception returns to the same review path.
Signs the scanner feed is producing useful work
A healthy feed produces items that teams close with evidence, not items they argue about. Useful measures are the share of imported findings that matched a configuration item, the share of items closed by a verification scan rather than by a manual note, the number of items reopened after a verification failure, the number of risk acceptances nearing expiry without a plan, and the number of hosts with findings but no owner. A large count of unowned hosts is the most actionable signal, because it points to a gap in the configuration data rather than in the patch process.
When a scanner feed should stay outside the platform
Do not import every finding from every scan into the ticket system. Low-value informational results from a scanning tool add noise without a decision attached to them, and a record needs a decision to be useful. Keep those results in the scanner’s own reporting, and bring across only the findings that someone is obliged to act on. Also avoid importing before the configuration data is reasonable. A feed that creates thousands of records against hosts nobody owns will consume the vulnerability team’s time without reducing exposure.
Common questions about a vulnerability feed
Should a finding close automatically when the next scan no longer sees it?
Not on its own. A host that was offline during the scan, or a scanner that lost its credentials, will also look clean. Close on a verified result, and treat a missing host as a separate exception that the scan owner investigates.
Who decides whether a finding is exploitable in our environment?
The service owner decides, with input from the security team. The scanner’s severity describes the weakness in general; exposure and business context come from the people who run the service, and that judgment should be recorded on the item.
Can the same host appear under two owners after a rebuild?
Yes, if the configuration item was recreated rather than updated. Check the match on the rebuilt host, move the open findings to the new record, and close the old one with a note, so the history stays connected.
How often should the import run?
Match the import to the scan schedule and to the speed at which owners can act. A daily import of a weekly scan adds nothing, and a weekly import of an hourly feed loses detail. Agree the cadence with the owners rather than copying the scanner’s default.
Next step for a findings design
The unit of work and the matching rule are the two choices that decide whether the queue stays useful. For the governance around the decisions that follow, see the risk area of this library.
Frequently asked questions
Why is Qualys integration important for operational teams?
Qualys finds vulnerabilities; ServiceNow manages operational work. Integration makes vulnerability information visible in the system where operational teams prioritise work, ensuring security issues get appropriate attention instead of being missed or deprioritised.
Should we create an incident for every vulnerability Qualys finds?
Usually not. Most organisations filter to create incidents only for vulnerabilities above a certain severity threshold. This focuses operational attention on meaningful issues rather than overwhelming teams with low-risk findings.
How do we keep Qualys and ServiceNow in sync?
Decide which system owns each piece of data: typically Qualys owns vulnerability discovery, ServiceNow owns remediation tracking. Use one-way or bidirectional sync based on your business needs. Periodic sync (once per day or week) usually suffices unless you need real-time updates.
Related guides
Related Oblytech services
Where this topic turns into delivery work, these are the Oblytech services that cover it.
Planning, running or fixing a ServiceNow programme? Tell us where you are and we will suggest a sensible next step.
Contact us