OBLYTECH Logo
OBLYTECH Logo

Import Black Duck project versions into Application Vulnerability Response

The Black Duck vulnerability integration imports Software Composition Analysis data into Application Vulnerability Response after installation, authentication, and dependent imports are complete. Run the project import first, then the version import, then the vulnerable item import; running them out of order leaves incomplete data. Validate each stage before treating the resulting findings as ready for triage.

Prepare the Black Duck vulnerability integration

Start with the data chain you need to establish: a Black Duck project supplies the identifiers used to retrieve its versions; those versions become discovered applications; the vulnerable item import then brings in the SCA findings. A successful connection test is an early checkpoint, while populated application and finding records are the evidence that the later stages worked.

Before installation and configuration, run the Common Weakness Enumeration integration used by Application Vulnerability Response. The CWE integration is installed with Vulnerability Response by default. NVD data is helpful but is not a prerequisite for installing the Black Duck integration. Use the guidance on NVD, CWE, and third-party library data when planning that supporting work.

The App-Sec Manager group performs the pre-integration tasks. Check expected application vulnerable item volume against instance sizing before the first substantial import, because an undersized instance can produce long load times. Keep the configured run-as user at its default value, VR.System. Record the intended integration instance so that later checks concern the same source connection.

An admin installs the integration application and assigns users to the App-Sec Manager group. That group handles configuration and verification of expected results. Confirm that Vulnerability Response is installed and activated through Subscription Management > Subscriptions. The Black Duck integration requires a separate subscription. Check the configuration details below against your instance and release; the workflow here follows Brazil behavior.

Establish credentials and choose import behavior

Prepare the API URL and API token before opening the connection form. In Black Duck, use the user account menu, select API Credentials, and then Generate API Credentials. Keep the generated credentials available for connection setup without adding them to import notes or troubleshooting screenshots.

  1. As a member of the App-Sec Manager user group, navigate to All > Blackduck Vulnerability Integration > Configuration.
  2. Select Basic Authentication and enter the API URL and API Token for the intended Black Duck environment.
  3. For an on-premises Black Duck instance using Basic Authentication, select the required MID Server. Use the on-premises Black Duck endpoint as the API URL.
  4. Review Include SCA. Vulnerabilities identified by SCA scans of open-source components are included by default.
  5. Set Integration Instance to the instance that will import the data, then select Save and Test credentials.

Resolve any connection error before you run an import. Before you accept a passing test, check that the API URL and Integration Instance on the form match the environment in your preparation notes. A test against the wrong environment can pass and then show a project list you do not recognize.

The configuration also determines how false-positive findings enter triage. With Select the option to manage False positives in ServiceNow activated, imported AVIs with Source states False Positive or Potential False Positive are mapped to Open rather than their normal Closed mapping. Deactivate the relevant options to retain the scanner’s imported Source states; the Request exception and False Positive actions are then not visible on the AVIs.

Decide that handling before judging whether imported states are correct. A finding that appears open can reflect the selected triage behavior rather than a failed synchronization. For the wider application setup surrounding these imports, see configure Application Vulnerability Response.

Load project information before project versions

The Black Duck Project List Integration establishes the project data needed by the dependent integrations. Its output belongs in the Black Duck projects table, sn_vul_blackduck_project. That table captures attributes such as Project GUID, which are needed to query the project’s versions.

  1. With the App-Sec Manager group access required for the project import, navigate to All > Blackduck Vulnerability Integration > Integrations.
  2. Select Black Duck Project List Integration.
  3. Select Execute Now.
  4. After the import completes, inspect the project details in sn_vul_blackduck_project and review the integration run status.

Use a recognizable project as the first checkpoint. Compare its identity and Project GUID with the project you intended to bring into ServiceNow. An application import cannot be accepted as complete merely because its execution was requested; first establish that its upstream project information is present.

If the project list is missing expected entries, investigate this stage before moving on. Running the dependent integrations against incomplete project data makes it harder to distinguish a source-selection issue from a version-import issue. Make any necessary parameter changes on the integration instance, then evaluate the resulting project data before accepting the next stage. If the cause is still unclear, see ServiceNow implementation for help with the setup.

Import versions into Discovered Applications

Once the project information is available, run Black Duck Application List Integration to retrieve project versions. The destination is Discovered Applications, sn_vul_release. This stage turns the project list into the version-level application context needed for the vulnerability import.

  1. Using the App-Sec Manager group access required for importing project versions, open All > Blackduck Vulnerability Integration > Integrations.
  2. Select Black Duck Application List Integration.
  3. Select Execute Now and review the integration run status after completion.
  4. Inspect Discovered Applications for the versions associated with your selected project.

Check versions individually rather than stopping at a familiar project name. For example, if the source project has two versions relevant to your validation, look for both version records in Discovered Applications. Treat that as a comparison against your selected source data, not an assumption that a single application row represents the full project history.

When CI Lookup Rules are in use, these discovered applications are linked to the configuration item table, cmdb_ci. Review that relationship separately from the presence of the version record. Seeing an application version and seeing its intended configuration item association answer different validation questions.

Import findings and validate their transformation

After checking the discovered versions, use the App-Sec Manager group access required for the AVI import. Navigate to All > Black Duck Vulnerability Integration > Integrations, select Black Duck Application Vulnerable Item Integration, and select Execute Now. The resulting AVIs expose scan findings and enrich third-party vulnerability data.

Validate a finding against the application version established in the preceding step. Review its application identity, version, severity, and state. The transformation maps app_id to source_app_id, version to app_version, and last_update_time to last_scan_date. These fields provide distinct checkpoints when the finding exists but its application context or scan timing looks wrong.

The incoming API data first enters Black Duck AppVul Item Import, sn_vul_blackduck_appvul_item_import. To inspect the transformation, navigate to System Import Sets > Transform Maps and search for Black Duck AppVul Item Transform. Its onStart and onBefore scripts serve internal processing purposes and must not be modified or deleted.

State validation also needs the scanner’s source value. New, Needs Review, and Remediation Required map to Open. Remediation Complete, Mitigated, Patched, and Ignored map to Closed. Compare the source value with the resulting state before attributing an unexpected count to missing imports.

Record five things as acceptance evidence: the connection test result, the project identity, the discovered version records, the run status of each integration, and a sample of AVI fields. Once those match your source data, move on to remediation rules and exceptions for the findings. Once import accuracy is established, use Application Vulnerability Response remediation rules and exceptions to consider the subsequent handling of findings.

Questions about Black Duck import boundaries

Can closed scanner findings be created as AVIs?

By default, closed scanner records do not create AVIs during import. An admin can enter sys_properties.list in the navigation filter, locate sn_vul.create_closed in Name, set Value to True, and save with the green check mark. Closed records are then created as AVIs during the next Black Duck import.

Does a development installation need production entitlements?

The entitlement setup requirement applies to applications downloaded to production instances. For non-production or development downloads, that entitlement step is unnecessary; proceed with Store application activation. Keep this distinction in the installation checklist so the production preparation process is not applied indiscriminately.

Where does the installation request begin?

An admin starts in the ServiceNow Store, searches for the Black Duck integration application, and selects its tile. Request App, Get, Validate Instance, and Request form the request sequence. Installation then takes place through System Applications > Applications by locating the application and selecting Install.

How is policy compliance represented in transformed data?

The affects_policy_compliance source field maps to complies_with_policy. The resulting value is Yes or No according to the source information’s true or false value. Inspect that mapping when assessing policy information on an imported record instead of treating the field as a separate ServiceNow scan result.