OBLYTECH Logo
OBLYTECH Logo

CSAF and CVRF Advisory Import in Vulnerability Response

CSAF and CVRF are structured formats vendors use to publish security advisories and fixes. Vulnerability Response imports them by file upload, by URL, or through an advisory list polled on a schedule. Each route ends with solution records linked to affected vulnerable items. Pick the route your vendor supports.

Choose the import route that matches how the vendor publishes

Vendors release advisory data in different ways. Some send a finished file, some host an address that serves the latest payload, and some publish a list of advisories, each pointing to its own payload.

Route What you supply Typical fit How it runs
File import One CSAF JSON file or one CVRF XML file One-time loads Once, through an import queue
URL import A payload address, or a ROLIE feed address for CSAF Aggregators, trusted providers, stable addresses On a schedule you set
Advisory import through API A connection alias and the vendor’s advisory list Vendors that list advisories On a schedule, using a sliding time window

The file route suits a one-off load. The URL and advisory routes keep refreshing, so they suit a standing feed. NVD and CWE data are covered on their own page, the NVD and CWE import guide.

Prepare the instance before the first integration

Confirm these before opening the Setup Assistant:

  • Vulnerability Solution Management, installed from the ServiceNow Store
  • Vulnerability Response, version 16.1 or later, which the integration requires
  • Third-party account credentials, needed to edit some solution integrations
  • Vendor authentication through connection and credential aliases, if you plan to use the API route
  • The vulnerability admin role (sn_vul.vulnerability_admin), or the admin role

The sn_vul.admin role is deprecated, so grant sn_vul.vulnerability_admin where you can. The Vulnerability Response go-live checklist helps sequence the rest of the setup.

Load a CSAF or CVRF file through the import queue

Go to Vulnerability Response, then Administration, Setup Assistant, Integration Configuration and Solution Integrations. Open the Common Security Advisory Framework entry for CSAF, or the Common Vulnerability Response Framework entry for CVRF, and select Import File.

The Name must be unique, because the scheduler is created under it. The Source field on each solution the import creates takes the name you enter in the Vendor field, so enter the vendor’s name there.

The formats have different limits. A CSAF import accepts one JSON file at a time, up to 15 MB. A CVRF import accepts one XML file at a time, up to 1 GB. With several files, run one import per file.

After you select Finish, the platform creates an import queue. Each queue entry carries an attachment that is parsed when the entry is processed. Before parsing, the platform builds a scanner-mapping record from the configuration and transforms it into vendor-mapping data. The parsed content fills five tables: sn_vul_solution, sn_vul_m2m_vulnerability_solution, sn_vul_nvd_entry, sn_vul_software and sn_vul_product_category. Parse errors appear in the application logs.

Pull CSAF or CVRF data from a URL

Select Add Integration and set Import type to URL. For CSAF, the URL can be a direct payload or a Resource-Oriented Lightweight Information Exchange (ROLIE) feed. Aggregators and trusted providers can be imported through a ROLIE feed, and the platform maps their solutions to the correct vendor and vulnerable items based on the CVEs each solution references.

Choose Single Vendor for a feed from one vendor and enter the vendor name. Choose Multi Vendor for a feed covering several vendors, then name the trusted provider in the Aggregator field.

Set the Day and Time for the schedule, and check the status tag inside the feed. When a CSAF status tag reads FINAL, the platform sets the schedule to On Demand automatically, which prevents unnecessary runs. CVRF feeds follow the same rule. Scanner Mappings are optional for CSAF URL imports. Oracle publishes its CVRF URL directly, so an Oracle import is a URL import using that address.

Pull advisories through the API route

When a vendor publishes a list of advisories rather than one payload, set Import type to API. On each scheduled run, the integration fetches the list, extracts the CSAF or CVRF URL and advisory ID from each entry, and makes a REST API call for each URL.

The main settings on this route are:

  • Connection alias. Holds the credential and base URL for the advisories, stored in the sys_alias table.
  • Flow and flow action. The parsing flow runs with the scheduler. Copy the existing flow to change pagination. Flow actions carry the sliding window, and query parameters can be dragged into an action.
  • Mapping table. Points to an Enrichment Data Mapping record that tells the flow which payload tag holds the URL and advisory ID.
  • Advisories from response. The tag name in the payload that holds the advisory list.

The filter criteria set the time window. Enter the start and end date request parameter names the API expects, such as StartDate, start_date, endDate or end_date, and a date format such as mm/dd/yyyy. Formats GlideDate does not support will fail, so test the format against the API before scheduling. Initial range in days sets how far back the first run fetches. Later runs follow the sliding window mechanism. If the API has no date filter, choose No Parameters.

For how this route fits a wider integration design, see Vulnerability Response integration patterns.

How solutions attach to vulnerable items

Before testing, know the rules that decide the preferred solution:

  • If one highest superseding solution rolls down to the vulnerable items, the platform populates the preferred solution.
  • If one NVD entry includes several vendor solutions, the preferred solution stays empty, because more than one highest superseding solution exists. Select the solution manually.
  • For third-party vulnerabilities, the preferred solution is populated only if a matching scanner mapping is added. A scanner mapping takes a scanner source, a vulnerability column and keywords.
  • Scanner mapping does not apply to NVD-based vulnerabilities, meaning those with a CVE in the NVD database.

For how scores and targets then decide which items get worked first, read the vulnerability prioritization guide.

Add a vendor other than Red Hat or Cisco

The CSAF route ships with a Red Hat flow, and the CVRF route ships with a Cisco flow. Publishing a URL is not standard across vendors, so another API vendor needs its own flow and mapping:

  1. Create a Connection & Credential alias with the authentication type the vendor supports.
  2. Duplicate the flow named Advisory Parsing, and edit copies of any action that needs changing.
  3. Check the page_index_key and page_size_key parameters against the vendor’s API, then update the pagination logic.
  4. If the date range logic differs from Red Hat’s, copy the Update Pagination Parameters action and change the copy.
  5. Create an Enrichment Data Mappings record based on the shipped one, and change its Property key value.
  6. Map the vendor’s tags. For CSAF, the URL tag feeds the cvrf_url column of the solution integration update table, the advisory identifier feeds Id, the last modified tag feeds last_modified_date, and the advisory format is set to the static value csaf. CVRF follows the same pattern without the format value.
  7. If the response format differs, copy the Retrieve List action from the Advisory Parsing flow and change the parsing logic in the copy.

Create one mapping record per vendor that publishes advisories. For OAuth, create an endpoint that lets clients reach the instance, then create a Connection and Credential alias. On its Connections tab, select New, choose the Application Registry Profile as the OAuth Entity Profile, select the credential record, enter the vendor URL, and submit.

Troubleshoot a slow or failed import

Each common symptom has a first check:

Symptom Where to look first
The run takes much longer than expected Open the sn_vul_ds_import_q_entry table and group by Status: Completed, In progress or In queued.
An API import fails In Flow Designer, open the flow (Advisory Parsing for Red Hat), then Executions, the relevant run, and each stage.
An API import times out during advisory parsing Open sys_properties.LIST, find sn_vul.CVRFFlowTimeout, raise its value (in milliseconds), save, and rerun.
The error says scanner mapping to vendor-mapping transformation is in progress Wait a while, then run the integration again.
A file import creates no queue entry The transformation is still running. The queue entry appears when it finishes.

Raise the timeout value first, then rerun the integration. CVRF troubleshooting follows the same steps, using the Cisco flow as the reference. For problems the table does not cover, see the Vulnerability Response troubleshooting guide.

Frequently asked questions

Do I need Vulnerability Solution Management before I can import?

Yes. The integration requires it alongside Vulnerability Response version 16.1 or later.

Why is the preferred solution empty after an import?

Either one NVD entry lists several vendor solutions, or the vulnerability is third-party and has no scanner mapping. Select the solution manually or add the mapping, then run the integration again.

Can one CSAF file cover several vendors?

The file route takes one JSON file at a time and one Vendor name, so import each vendor’s file as its own run. A feed spanning several vendors goes through the URL route with Multi Vendor selected.

What does the sliding window do on later runs?

The first run fetches the period set in Initial range in days. Later runs follow the sliding window mechanism.

Do scanner mappings matter for CSAF URL imports?

They are optional. They matter when third-party vulnerabilities need a preferred solution, because those receive one only if a matching mapping exists.