To authenticate a Common Security Advisory Framework (CSAF) vendor other than Red Hat, create a Connection and Credential alias that uses the vendor’s authentication type, add a connection that points at the vendor’s URL, duplicate the Advisory Parsing flow, and add enrichment mappings for the vendor’s payload tags.
Confirm roles and gather the vendor details first
The vendor setup and the alias and connection steps both call for one of these roles: sn_vul.vulnerability_admin, sn_vul.admin (deprecated), or admin. Confirm that your account holds one of them before you start, so you are not stopped partway through a set of records.
Collect three inputs before you open any form: the advisory endpoint URL the vendor publishes, the authentication method the vendor supports, and the way the vendor’s advisory list is paged and formatted. Those answers decide which fields you fill in and which flow actions you copy later.
Field labels and navigation paths can differ between ServiceNow releases. Check each label against the release your instance runs before you write it into a runbook or hand it to another administrator.
If the framework itself is not yet in place, set it up first using the security advisory framework setup guide, then return to the vendor steps below.
Create the vendor authentication alias
Navigate to All > Vulnerability Response > Connection & Credential > Connection & Credential Aliases. Create a record and choose the authentication type that the vendor supports. The alias is the container for everything that follows, so name it so the vendor is obvious when you scan the connection list later.
The credentials on the alias let the integration call the vendor’s endpoint. Decide who may read and change those records before you create them. For a broader view of how to design vendor-facing access, see the vendor risk management security and access design page.
Build the OAuth authentication and the connection
The sequence runs in this order: create the OAuth authentication, create the alias, then create a connection under that alias. When the authentication type is OAuth, the connection needs an OAuth entity profile, so the endpoint has to exist before you reach the connection record.
Create the OAuth endpoint for the instance
Create OAuth authentication by setting up an endpoint for clients to access the instance. The Application Registry Profile that results from this step is the one you select in the connection record. Give it a name you will recognize later, because you will need to pick it from a list.
Fill in the connection record
Open the alias record and work through the connection from its Connections tab:
- Under the Connections tab, select New.
- If the authentication type is OAuth, select the Application Registry Profile you created as the OAuth Entity Profile.
- Create the connection record from the related list on the alias record.
- In the Credential field, select the credential record you created for this vendor.
- In the Connection URL field, enter the URL of the vendor.
- Select Submit.
Enter the vendor URL in the form the vendor publishes it. Check the value before you select Submit, because a wrong address is easy to miss on a form that otherwise looks complete.
Duplicate the Advisory Parsing flow for the vendor
Navigate to All > Vulnerability Response > Flow Designer and duplicate the flow called “Advisory Parsing”. Work only in the copy. If any action needs a change, copy that action and place the copy in the new flow, so the shipped actions stay as they are for Red Hat.
Three areas usually need attention:
- Pagination keys. Review the page_index_key and page_size_key parameters against the vendor’s API, then update the pagination logic to match how the vendor pages through results.
- Date range. If the vendor’s date range logic differs from Red Hat’s, copy the Update Pagination Parameters action and change the copy to suit the vendor.
- Response format. If the vendor returns a response shape that differs from Red Hat’s, copy the Retrieve List action from the Advisory Parsing flow and change the parsing logic in the copy.
Test each change against a real response before you move on. A pagination mistake can show up as a short or repeated advisory list, which is easier to diagnose when you have changed only one thing since the last run.
Map the advisory payload tags in Enrichment Data Mappings
Navigate to All > Vulnerability Response > Enrichment Data Mappings. The Red Hat mapping ships by default. Create a record that follows the Red Hat pattern and change the Property key value to match the vendor’s payload. The mapping tells the integration which payload tag fills which column in the sn_vul_cvrf_solution_integration_update table.
Map these fields:
- CSAF URL. The tag that holds the resource URL of the CSAF payload maps to cvrf_url.
- Advisory ID. The tag that carries the unique identifier for each response maps to Id.
- Last modified date. The tag that records when the advisory was last updated maps to last_modified_date.
- csaf. This static value maps to advisory_format. It applies to all CSAF integrations, so a vendor-specific value is not needed.
- securityAdvisoryIntegrationSysId. This value maps to integration and refers to the integration scheduled job that creates the vulnerability solution records.
Each row’s Property key value has to match the vendor’s tag name. Compare the names against a sample payload instead of relying on the names you expect the vendor to use.
Keep the new vendor separate from Red Hat
The Red Hat flow and mapping are the defaults, so changes to them affect Red Hat advisories as well. Keep the vendor’s work in copies and new records, and leave the defaults alone. Give the vendor its own alias and connection so its credentials can be changed without touching another vendor’s feed.
Setups that cover several vendors tend to grow. Before you add a third or fourth vendor, decide how each one’s alias, flow copy and mapping records will be named, so an administrator reading the lists can tell which vendor each record serves. For help planning this work, see ServiceNow implementation.
Verify the first advisory pull
After the connection and the flow copy are in place, check one advisory from end to end before you treat the setup as complete. Start with the connection record, which should show the credential, the Connection URL and the OAuth entity profile where it applies. Then check the solution records the integration creates.
- Confirm the alias, connection and credential records link to each other.
- Confirm the Connection URL matches the vendor address you intended to enter.
- Compare one created solution record with its source advisory, and check that the advisory ID, the last modified date and the CSAF URL landed in the right fields.
- Check that advisory_format holds the csaf value.
If the first pull returns no records, work through the three layers in order: the connection, then the flow copy, then the mapping rows. Changing all three at once hides which one caused the problem. If a value is missing from a solution record, go back to the Enrichment Data Mappings row for that column before you change the flow.
Setup mistakes in security operations work are covered in common ServiceNow security operations mistakes and how to avoid them. Pages for the wider risk area sit under the ServiceNow risk hub.
Hand the vendor setup to the next administrator
A vendor setup spans five kinds of record, and the person who inherits it will need to find each one. Write down the following before you close the change:
- The alias name and the authentication type chosen for it.
- The Application Registry Profile used as the OAuth Entity Profile, and the credential record it connects to.
- The name of the duplicated flow and each action copied from the Advisory Parsing flow.
- The pagination, date range and response format changes made in the copy.
- Each Enrichment Data Mappings row created for the vendor, with its Property key value.
Questions about vendor connection failures and parsing gaps
Why does the connection still fail after the alias saves?
If the connection still fails, check the Credential field and the Connection URL on the connection record first. If the authentication type is OAuth, confirm that the OAuth Entity Profile is the Application Registry Profile you created for this vendor.
Should I edit the shipped Advisory Parsing flow instead of duplicating it?
Duplicate it. The shipped flow carries the Red Hat behavior, so edits to it reach Red Hat advisories as well. A copy lets you change pagination, date range and parsing for the new vendor while the default keeps running as it did.
What should I check when mapped solution fields come through empty?
Start with the Enrichment Data Mappings row for the empty column. The Property key value has to match the vendor’s tag name, so compare each name against a sample payload. Then confirm the row points at the column you expect, using the list in the mapping section above.