The Vulnerability Integration Runs related list shows whether an Invicti import succeeded and where it had issues. Open it from the integration record under Invicti Vulnerability Integration, then check each run’s status and processing times. The Import Set Tables view holds the import sets for each integration, and that is where you start tracing a problem back to its source.
Checking an Invicti vulnerability integration import from the Runs list
Each Invicti import is tied to an integration record in the Invicti Vulnerability Integration application. The run history for that record is a related list, so it is the first place to check whether the latest import completed. Check it before you open any table, because the table you open should belong to the same integration that produced the run.
To view import status, a user in the App-Sec Manager user group navigates to All > Invicti Vulnerability Integration > Integrations, selects an integration record, and then selects the Vulnerability Integration Runs related list. If you are not in that group, ask an administrator which access you can use before you follow these steps.
Choose the integration before you read a status
Runs are listed per integration, so confirm which integration you are investigating before you read a status. A team with more than one Invicti integration can see a clean run on one feed and a failed run on another. Open the Vulnerability Integration Runs list for each integration you care about, and keep the results separate in your notes.
Reading run status and processing times in the Invicti integration record
The run list gives you the status of each run and the processing time behind it. The details include total processing times, and average times for the pre-integration and post-integration run processes. Compare the current run with its recent predecessors before you decide the result is wrong. A run that takes much longer than usual is worth checking against those averages to see which stage moved. The times tell you where to look; they do not by themselves explain the cause.
The same view also holds reports on the integration run records for the Application Vulnerable Item integration. Use those reports when your question is about vulnerable items rather than application lists. If the number of vulnerable items changes sharply between runs, check the reports before you assume the import is at fault, since the source data may have changed.
Using import set tables to trace records back to a run
Import set tables are the second step in the trail, after the run itself. Open them when a run reports success but the counts in the final tables do not match what you expected, and compare the two directly.
Open the import set tables for the same integration
To open them, navigate to All > Invicti Vulnerability Integration > Integrations > Import Set Tables and select an integration. Choose the integration that produced the run you were reading, not a neighboring one. Then match the import set to the run by timing. When the timing lines up, the trail from run to record is short. When it does not, note the mismatch and check the run before or after, rather than combining two runs in one review.
What each Invicti integration writes to the instance
Each Invicti integration writes to its own tables, so the target table depends on which integration produced the run. Knowing the mapping keeps you from searching the wrong place. Copy table names exactly as they appear here when you filter a list.
The Application List Integration creates or updates records based on its Lookup Target. A Product model target writes to Discovered Applications [sn_vul_app_release], and a Configuration item target writes to Scanned Applications [sn_vul_app_scanned_application]. The same integration also creates or updates records in the Application Vulnerability Entry [sn_vul_app_vul_entry] table.
For Platform type with scan type SCA, the integration also creates or updates records in the Package [sn_vul_app_package] table.
The Scan List integration creates or updates records in the Scanned Applications [sn_vul_app_scan_summary] table. The Application Vulnerable Item integration creates or updates records in the Application Vulnerable Items [sn_vul_app_vulnerable_item] table and the CWEs [sn_vul_cwe] table.
If your instance also loads Fortify results, the route is described in importing Fortify scan results into Vulnerability Response. If the same team handles Veracode findings, the Veracode import guide covers that feed.
Tracing vulnerable item records and their identifiers
For Enterprise integrations, each vulnerability in Invicti has a type, such as ProductDirectoryListing. The type is imported and mapped as a unique ID into the instance, and it appears as part of the value in the Vulnerability field on the application vulnerable item (AVIT) record. The same value is displayed as the unique ID on the Application Vulnerability Entry record. In the example, the value is Invicti-ProductDirectoryListing.
Handle duplicate and custom vulnerability types
When Invicti has duplicate types for a vulnerability, the word custom is inserted into the value, so you may see Invicti-custom-ProductDirectoryListing. A custom type you create yourself can produce an ID in the form Invicti-Custom- followed by the vulnerability title. Search on the title as well as the ID, so a change in the ID format does not hide the record from you.
Read CWEs and the new fields on the AVIT
Invicti AVITs can support several Common Weakness Enumeration (CWE) entries, so CWEs are not used as unique IDs. They are displayed on the AVIT record and stored in the CWEs [sn_vul_cwe] table. For scan type Invicti, the Affected parameters and Custom fields can hold data that helps you understand the vulnerability and decide how to remediate it. If there is no data for those fields, they are not displayed on the AVIT. For the NVD and CWE integrations, see importing data with the NVD and CWE integrations and managing third-party libraries.
Check Platform identifiers before creating anything
For Platform integrations, unique identifiers are imported from Invicti, so you do not create them in the instance. A missing or unexpected identifier on a Platform record is worth tracing to the source data first, because the identifiers originate in Invicti. Compare it with the matching record in Invicti before you change anything in the instance. If the same applications also receive Tenable scan data, the Tenable import guide covers that feed.
Working through a partial or failed Invicti import
When a run reports an issue, work through the records in the same order each time. Keep the run, the import set and the target table open side by side, so you can compare them without losing your place. Each step narrows the cause, and the order keeps two reviewers from testing the same thing twice.
- Open the Vulnerability Integration Runs related list for the integration and note the status and processing times of the run in question.
- Compare that run with the one before it. If the processing time changed sharply, open the integration run reports for the Application Vulnerable Item integration.
- Open Import Set Tables for the same integration and find the import set that matches the run’s timing.
- Check the target table for that integration type, using the table mapping above.
- For vulnerable items, check the Vulnerability field, then the CWE entries, then the Affected parameters and Custom fields.
- Write down what you found before you change any integration setting, so the next reviewer starts from the same state you did.
For help planning this work, see ServiceNow implementation.
Questions about reading Invicti import run records
Can a run record show which individual findings failed to load?
The run-level view covers status and processing-time details. To follow a specific finding, trace it through the import set and then into the target table for its integration.
How long do run records stay in the list?
Check with your administrator how long run records are kept on your instance, and plan any audit that needs older runs around that answer.
Should I change an integration setting after a failed run?
Not until you know where the run stopped. Once the run status, the import set and the target table agree on the cause, decide whether a setting change is needed, and get sign-off from whoever owns the integration. Changing a setting first tends to make the failed run harder to read afterward.
Does this feature differ between ServiceNow releases?
Yes. The Xanadu release differs in several places. It names sn_vul_app_vul_scan_summary as the scan summary table, starts the processing-time details with v1.1 of the integration, and omits the Application Vulnerability Entry and Package table lines and the note on Platform identifiers. Brazil, Australia, Zurich and Yokohama name sn_vul_app_scan_summary for that table. Check the version and table name on your own instance before you search for either one.