OBLYTECH Logo
OBLYTECH Logo

Troubleshoot Common Vulnerability Reporting Framework data import

Import CVRF advisory data in Vulnerability Response by adding a Common Vulnerability Reporting Framework integration with Import type set to API. The scheduled flow fetches advisories, follows each CVRF URL, and stores parsed solutions in the sn_vul_solution table. When an import fails, review the flow execution, raise the timeout property if needed, and run the integration again.

Confirm the role and open the integration form

Setting up the integration requires the sn_vul.vulnerability_admin, sn_vul.admin (deprecated), or admin role. Before you start, confirm that the credential you plan to use already exists and holds the base URL for the advisories. If you do not hold that role, ask an administrator to make the change or grant access, so the work does not stop halfway.

Go to Vulnerability Response, then Administration, then Setup Assistant, then Integration Configuration. Under Solution Integrations, select Common Vulnerability Response Framework and click Add Integration. Menu labels and field layout can differ between releases, so confirm the path on your instance before you follow it.

Filling in the Import solution advisories form

Choose API as the import type. The remaining fields cover the connection, the schedule, the API configuration, the filter criteria and the scanner mappings. If you also load NVD and CWE data, see the guide on importing those integrations and managing third-party libraries.

Connection and schedule fields

  • Name: a unique name for this integration record.
  • Vendor: the vendor name. The Source field on each imported solution is populated from this value.
  • Connection alias: an authenticated credential. The sys_alias table stores the credential and the base URL for the advisories.
  • Schedule: how often the data is updated. Day sets the day of the week for the update, and Time sets when it runs.

API configuration and mapping

  • Flow: the flow that runs when the scheduler executes. It parses the advisories, extracts the CVRF URL, and writes those details to the update tables.
  • Flow action: the action that handles the sliding window. You can add query parameters directly to the action by dragging them in.
  • Mapping Table: the Enrichment Data Mapping Table record that the flow uses to extract the CVRF URL and Advisory ID from each advisory payload.
  • Advisories from response: the tag name in the payload that holds the list of advisories.

Filter criteria and scanner mappings

Under Time range parameters, enter the names of the request parameters that carry the start and end dates. Depending on the vendor API, these might be StartDate, start_date, endDate or end_date, so use the names the vendor API expects.

Under Scanner mappings, pick the Scanner Source, which identifies the source of the third-party entry (TPE). Then choose the Vulnerability column to search and enter the Keywords to match in that column.

Before you click Finish, compare the form against the list of common setup mistakes in Vulnerability Response.

Verifying solutions after a successful run

After a run finishes, open a few imported solutions and check the Source field. That field is filled from the Vendor value on the integration, so a misspelled vendor name carries into the solution records. Correct the Vendor value on the integration record before anyone relies on the imported data.

Then compare the number of solutions in sn_vul_solution with what the vendor advisory feed lists for the same date range. The Mapping Table and Advisories from response fields decide which advisories and CVRF URLs the flow extracts, so check those two fields first when the count is low.

How an API import run moves data

When the integration runs, the advisories are fetched and the CVRF URL and advisory ID are extracted from each payload. The integration then makes a REST API call for each CVRF URL, parses the returned data and stores it in the sn_vul_solution table. The flow itself starts when the scheduler runs, so the Day and Time fields decide when a run begins.

A run leaves three places to check: the executions in Flow Designer, the queue entries in sn_vul_ds_import_q_entry, and the solutions in sn_vul_solution. Each one answers a different question: did the flow run, did the queue move, and did the data land.

If a run stores fewer solutions than you expected, compare the mapping record with the current advisory payload before you change the flow. If you also load NVD data and want to check that import, see the guide on checking NVD import status.

The flow action handles the sliding window. After the first scheduled run uses the initial range, later runs follow the sliding window mechanism.

Diagnosing a failed API import

When an API-based import fails, start with the flow run rather than the integration record. Open Flow Designer, open the flow selected in the configuration, and click Executions. Then open the latest execution, or the one you need to debug, and check the flow at each stage. For Cisco advisories, open the Advisory Parsing flow instead.

At each stage, compare the input the stage received with the output it produced, and note any error recorded against it. The first stage whose output looks wrong is usually where the fault sits.

For checks that apply across Vulnerability Response imports, see the troubleshooting overview.

Raising the advisory parsing timeout

A timeout in the advisory parsing flow makes the import fail. Open sys_properties.LIST, search the Name column for sn_vul.CVRFFlowTimeout (inMiliSeconds), and open that record. The value is in milliseconds, so enter a large number, comfortably above the run time you saw in the flow execution. Save the record, then rerun the integration.

Waiting out the scanner mapping transformation

Some runs fail with the error “Scanner mapping to vendor-mapping data transformation is in progress”. This can happen during a URL or API-based import. The transformation has not finished, and data only fills in after it does, so wait and run the integration again later. The message names the transformation rather than a flow stage, so the fix is to wait and rerun.

Retrying after a fix

Rerun the integration after the change you made is saved. A timeout fix needs a rerun, and a transformation error needs a wait before the rerun. If the same stage fails again, return to the latest flow execution and compare it with the run before your change instead of changing more settings at once.

For help planning this work, see ServiceNow implementation.

Testing a copied flow before you switch over

You can copy the existing flow and edit the copy, so the flow in use stays unchanged while you test. Work through the change in this order:

  1. Open Flow Designer and copy the flow named in the Flow field.
  2. Edit the copy, for example to change pagination.
  3. Select the copy in the Flow field of a separate test integration record, so the production schedule stays as it is.
  4. Run the test integration and open its latest execution to check each stage.
  5. Compare the solution count and the Source values with the results from the original flow.

When the copy produces the results you expect, update the Flow field on the production integration.

What to record when a run fails

Before you change anything, note the integration name, the flow execution you reviewed, the time range the request sent, and the exact error text. Those four items let you compare a failing run with a passing one, and they give someone else enough to pick up the case.

Questions about slow runs, queues and first-run scope

How do I tell whether a slow import is still moving?

Open the sn_vul_ds_import_q_entry table and group the entries by the Status field. The entries appear in the Completed, In progress, or In queued states. If the In progress or In queued groups do not shrink between checks, open the latest flow execution and look for the stage where it stopped.

Why does a file import sometimes create no queue entry?

During a file import, the import queue may not be created while the transformation that maps scanner-mapping data to vendor-mapping data is still running. The queue entry appears once that process completes, so look for it again after the transformation finishes.

What does the initial range in days control?

It sets how many days of advisories the first scheduled run fetches. Later runs follow the sliding window mechanism. If you do not want a time range at all, select the No Parameters option instead.

Which date format should the time range use?

Enter the date format the vendor API needs for filtering, such as mm/dd/yyyy. Use a format that GlideDate supports, because other formats do not work in the import.