WASViking Docs
⌘K
Integrations

ServiceNow

Two-way sync of findings with ServiceNow incidents, with state mapping, sync filters, and polling.

The ServiceNow integration creates WASViking® findings as records on the Incident table of your instance, with two-way state mapping, per-integration sync filters, and polling for status updates back into WASViking.

What syncs

  • Finding → Incident. Short description, a composed description (severity, category, CWE, OWASP, risk score, evidence), and any incident field you map, including custom u_* fields.
  • Status → Incident state. Configurable mapping (open ↔ New, resolved ↔ Resolved, etc.). States are read live from your instance, so custom states appear automatically. When a finding moves an incident to Resolved or Closed, the mandatory Resolution code and Close notes are filled in automatically using the resolution codes your instance actually defines.
  • Incident state → Finding status. State changes made by your team in ServiceNow are polled back and mapped to WASViking statuses by state category (new, in progress, done).
  • Assigned to → Finding owner (optional). With the switch on, the person an incident is assigned to becomes the owner of the finding. See the section on the assigned person further down.
  • Closure and reopen notices. Whenever WASViking closes or reopens a finding, the incident receives a work note saying who did it, when and why: the scan that stopped detecting it, the operator and the reason they chose, the suppression rule, or the scan that detected it again. When WASViking resolves the incident, the Close notes carry the same reason. A state your team changes in ServiceNow is never echoed back.

The integration tracks a stable link per finding (incident number and sys_id), so re-syncs do not duplicate incidents.

Requirements

  • An instance on service-now.com or servicenowservices.com (Government Community Cloud). Custom vanity URLs are not accepted.
  • A dedicated integration user with the itil role, authenticated with Basic auth. Use a service account, not a personal user.
  • Set the integration user's timezone to GMT/UTC. Inbound polling filters by update time and ServiceNow interprets those timestamps in the querying user's timezone.

Setup

  1. In ServiceNow: create the integration user with the itil role and GMT/UTC timezone.
  2. In WASViking: Operations → Integrations, then the ServiceNow card. The page is organized in seven areas (Overview, Connection, Fields, States, Rules and filters, Backfill, Activity) that you can open in any order.
  3. In Connection, provide the instance URL, the username, and the password, then Test connection. The test runs against the values typed in the form, so you can confirm them before anything is stored. Once it answers connection ok, select Save credentials: the password is stored encrypted and the incident fields and states are read from your instance. If the instance does not answer, the page says why and Reload from ServiceNow reads the lists again without touching what you already chose.
  4. In Fields, map WASViking fields to incident fields. Auto-detect fills the common ones. Severity mapped to Urgency, Impact, or Severity is converted to the 1/2/3 choice values automatically. Priority cannot be mapped: ServiceNow computes it from impact and urgency.
  5. In States, map WASViking statuses to incident states, outbound and inbound. Auto-detect proposes the vanilla model (open → New, in progress → In Progress, resolved → Resolved). Reopened is optional: left blank, a reopened finding takes the open transition, so an incident closed by a scan comes back when the finding is detected again. A finding closed as Accepted risk or False positive keeps that decision whatever happens to the incident: the move is recorded in the finding's history and in Activity, and the decision changes only in WASViking or when an acceptance expires.
  6. In Rules and filters, choose what to forward with the sync filters (see below). The impact preview at the end counts the open findings that would become incidents, split by source.
  7. In the same area, switch on Turn on the sync and select Save configuration. One save keeps the fields, the states, the rules and the switch together.
  8. In Backfill, See the plan counts what a run would send without sending anything, and Run backfill asks you to confirm those numbers. Afterwards, Activity lists every incident created or updated, every state that came back and every failure with its reason.

The Origin column says how each event came to be. For what WASViking sent, it names the person and where they asked from (the Findings page, an AI assistant, the Cloud Security page, Run backfill or Sync now), the WASViking API, or Rules and filters when the integration sent the finding on its own. For what came back, it names ServiceNow. Select What was sent under an event to see the title, project, issue type, labels, mapped fields and the start of the description that reached ServiceNow, or what WASViking tried to send when ServiceNow refused it. AI assistants read the same history through the MCP Gateway: see MCP security tools.

Field mapping (defaults)

WASViking ServiceNow
title Short description
description + evidence Description
severity Urgency (converted to 1/2/3)
risk_score Any numeric field, e.g. u_wv_risk_score
cwe Any string field, e.g. u_wv_cwe
last_scan_correlation_id Correlation ID
repository Any string field, e.g. u_wv_repository

Unlike Jira, ServiceNow does not reject unknown fields; it silently ignores them. Map to fields that exist on your incident form, or create u_* custom fields first and re-run Auto-detect.

repository carries the repository name and is filled only for findings that come from a repository. Web and network findings use the asset URL.

Sync filters

Each integration decides what it forwards:

Last change to these rules, at the top of Rules and filters, names who last saved a change to what the integration sends on its own (the sync switch, the project, the filters, the field or status mapping) and when. Saving without changing anything does not count.

  • Buckets. General findings and SCA / SBOM component findings have independent toggles.
  • Minimum severity. Only forward findings at or above a threshold.
  • Categories. Choose which finding categories create incidents.
  • Repositories. The one rule that adds. A repository you add has all of its findings turned into incidents, whatever the category, the severity or the SCA toggle say. Everything outside the list keeps answering to the rules above. An empty list adds nothing.
  • Forward only findings from these repositories. On, the list stops adding and becomes the whole scope: only those repositories reach ServiceNow. Off is the default.
  • Cloud Security findings. Shown when your organization has Cloud Security. Off by default: a cloud finding becomes an incident only when someone selects Send to ServiceNow on the finding page in Cloud Security. On, every finding Cloud Security opens or reopens at or above Minimum severity for cloud findings creates an incident on its own. That minimum is compared with the priority shown in Posture Findings, and none of the filters above applies to cloud findings. Saving does not send what is already open; the backfill does.

Every filter is applied together: bucket, severity, category and repository all have to agree before an incident is created.

The page previews the impact live before you save. Manual push of a single finding always bypasses the filters; that click is an explicit operator decision.

Backfill

Backfill creates an incident for every existing finding that does not have one yet. Already-linked findings are skipped, and pushes are spread out (2 seconds apart, capped at 30 minutes) to respect instance rate limits. Run it once after the first setup, after the sync filters are configured the way you want.

With Forward Cloud Security findings on, the backfill also sends the open cloud findings at or above their minimum that do not have an incident yet, the highest priority first, up to 1,000 per run.

Send chosen findings from the Findings page

The filters decide what reaches ServiceNow on its own. To have specific findings worked on, whatever the filters say, send them yourself.

  1. Open Findings. Each finding is a card, and its Ticket field shows the incident when there is one.
  2. Set the Ticket filter to Without a ticket to list what nobody was handed yet.
  3. Tick the cards you want, or Select this page, and select Send to ticket.
  4. Choose ServiceNow, and Jira too when both are connected. The window says how many incidents will be created and how many findings are skipped because they already have one or are closed.
  5. Select Send. The incident number shows on the card within seconds.

To send a single finding, open its card and use Send to ServiceNow under Ticket tracking. The same block shows the incident, its state and the last sync, and Sync now pushes the finding again.

A finding sent this way stays in step with its incident in both directions, even when the filters would not forward it. A finding that already has an incident is never sent twice, up to 200 findings go in one send, closed findings are not sent, and Cloud Security findings are sent from their own page in Cloud Security.

Sending is available to the Admin and Manager roles. Everyone who can open Findings sees the tickets and can filter by them.

Polling

ServiceNow has no native outbound webhooks, so WASViking polls the linked incidents every 5 minutes and brings back state changes, mapped to WASViking statuses through your inbound mapping. Incidents created by WASViking are stamped with the correlation display marker WASViking, which keeps the poll scoped to the integration's own records instead of scanning the whole Incident table.

A short anti-loop window prevents an outbound push and its own echo from ping-ponging the status between the two systems.

Only a state that actually changed is read back. An incident still in the state WASViking last saw or set carries no news, even when a field update or a work note refreshed it, so a finding a scan just reopened stays reopened until your team moves the incident.

The assigned person as the owner of the finding

A finding has an Owner in WASViking and an incident has Assigned to in ServiceNow. They are independent until you say otherwise: assigning the incident does not change the owner. To let ServiceNow decide, open Rules and filters, and under Sync behavior switch on Set the finding owner from the person the incident is assigned to, then select Save configuration.

With the switch on:

  • When the incident is assigned to someone, that person becomes the owner of the finding. The match is made by the e-mail of the user record: the person needs an active account in your WASViking organization with the same address. A name alone is never matched, so the integration user needs read access to the e-mail of the users incidents are assigned to.
  • The incidents that were already assigned when you turned the switch on are read within a few minutes, so you do not have to touch them.
  • The sync acts when the incident is assigned or changes hands. An owner you set by hand in WASViking stays until the incident is assigned to someone else.
  • When the assigned person has no account in the organization, or the instance does not show the e-mail, the owner is not changed. The history of the finding and the Activity area name the person who holds the incident, so you can invite them or set the owner by hand.
  • When the incident loses its assigned person, the owner is cleared only if it was the incident that set it. An owner set by hand is kept.

On the Findings page, Ticket tracking shows the state of the incident by its ServiceNow name and who the incident is assigned to, and the history of the finding records every owner the incident set or removed.

Deleted incidents

If someone deletes a linked incident directly in ServiceNow, the next push logs an error in Sync history and stops trying. With Recreate the incident automatically turned on, the integration detects the missing record, recreates the incident under a new number, and resumes the normal flow.

Rate limiting

ServiceNow throttling is defined per instance by rate limit rules. WASViking honors the Retry-After header on 429 responses and backs off with the queue intact. Large backfills spread out on their own.

Removing the integration

In Rules and filters, switch off Turn on the sync and select Save configuration. The existing incidents remain; WASViking simply stops pushing and polling. Re-enabling later will not duplicate incidents, because the finding links are kept.

Prefer building your own sync? Subscribe to finding events directly via Webhooks.