> For the complete documentation index, see [llms.txt](https://docs.ox.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ox.security/ox-integrations/3rd-party-integrations/open-source-security/black-duck.md).

# Black Duck

## About Black Duck

You can connect OX to your Black Duck instance to import its software composition analysis (SCA) findings. This lets you review open source vulnerabilities from Black Duck alongside your other findings in the OX platform.

Black Duck scans the open source and third-party components in your applications and containers. OX reads those results through the Black Duck API, maps them to your applications, and presents them for triage, prioritization, and reporting.

After connecting, you see Black Duck results on the Active issues page. Filter by Source tool to focus on them.

### What OX adds

* **Context and correlation:** OX maps Black Duck open source findings to applications, repositories, and services to show impact and ownership.
* **Prioritization with severity factors:** OX reprioritizes vendor severities when exploitability and environment context change the risk. Severity factors explain why the priority changed.
* **Unified queue:** Black Duck findings appear as OX issues under Open Source Security, so you triage them next to results from your other scanners.

### Terminology mapping

Black Duck and OX use different labels for similar concepts. Use this map while you work.

| Black Duck term | What it includes                                               | OX equivalent                 |
| --------------- | -------------------------------------------------------------- | ----------------------------- |
| Vulnerabilities | Known security flaws in open source and third-party components | Issues (open source security) |
| Projects        | The applications and containers Black Duck scans               | Applications                  |
| Severity        | Vendor severity rating                                         | Issues with severity factors  |

### Prerequisites

* OX permissions: Permission to configure connectors.

### Step 1: Generate an API token \[Black Duck]

Black Duck authenticates API requests with a user access token created from your Black Duck profile.

1. Sign in to your Black Duck instance.
2. Select the user menu, then select **My Profile**.
3. In the user access token area, enter a name for the token in the **Name** field.
4. Select **Read Access**. OX only reads data from Black Duck.
5. Select **Generate**. Black Duck shows the token once, in a pop-up window.
6. Select **Copy** and store the token in a secure location.

If you lose the token, you must generate a new one.

### Step 2: Connect Black Duck to OX \[OX]

1. In OX, go to **Settings > Connectors**.
2. In the search box, enter `Black Duck`. The Black Duck connector appears under Open Source Security.
3. Select the Black Duck card to open the Configure your Black Duck credentials dialog.

<figure><img src="https://884876233-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdK3XMLdV8zRg847RmGmZ%2Fuploads%2Fgit-blob-e0b7aa0f2c45c5e0df1762edffff62b8e5852fb6%2Fblack_duck_connect%20(1).png?alt=media" alt="" width="514"><figcaption></figcaption></figure>

4. Add the following details:

| Field               | What to use                                                                                                                                                                                                                                                                                                                 |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Black Duck Host URL | Your Black Duck instance URL followed by `/api`. For example, if you sign in at `https://<your-domain>.app.blackduck.com`, enter `https://<your-domain>.app.blackduck.com/api`. The `/api` suffix is required for connectivity verification.                                                                                |
| Token               | The API token you created in Step 1.                                                                                                                                                                                                                                                                                        |
| OX Broker           | Enable to connect through an OX Broker. Use this option when GitHub is accessible only through an internal network or when your organization requires all connector traffic to be routed through an [OX Broker](https://docs.ox.security/get-started/onboarding-to-ox/prerequisites-and-access/ox-deployment/ox-broker.md). |

5. Select **Verify Connectivity** to confirm the credentials, then select **Connect**.
6. To import findings from specific projects only, select the settings (gear) icon next to **Delete**, select the projects, and then select **Save**. By default, OX imports findings from all Black Duck projects accessible to the API token.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ox.security/ox-integrations/3rd-party-integrations/open-source-security/black-duck.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
