Black Duck Hub: What It Is and How to Use It
In this article
Black Duck Hub is the cloud-based reporting and policy dashboard for Black Duck, a software composition analysis (SCA) platform used to find open-source components and their known vulnerabilities in code. The detail most people get wrong: the Hub is not the scanner itself. Scanning happens locally or in your build pipeline; the Hub is where the results land, where policies are enforced, and where you read the reports.
Decide What You Need the Hub to Do
Before you log in, separate the two jobs. The scanner (the Black Duck scanning engine, often run as a command-line tool or CI plugin) inspects your code and produces a Bill of Materials. The Hub stores that Bill of Materials, matches components against the Black Duck KnowledgeBase of known vulnerabilities, and applies your organization's policy rules. If you only need a one-off scan, you may not need the Hub at all. If you need history, trend reports, policy enforcement across teams, or a place for multiple projects to be compared, the Hub is the destination.
Typical reasons people search for "black duck hub": they have been told to "check the Hub" for a vulnerability report, they are setting up a new project and need to know where scan results go, or they are trying to understand why a policy violation appeared. Each leads to a different first screen.
Match the task to the screen
| What you want | Where it lives in the Hub | What you need first |
|---|---|---|
| See vulnerabilities for one project | The project's BOM or Vulnerabilities view | A completed scan mapped to that project |
| Understand why a build failed | Policy violations for the project version | The policy rule set assigned to the project |
| Compare risk across teams | Reports and dashboards | Multiple projects with scans in the same period |
| Add a new component or license rule | Policy management | Admin or policy-manager role |
Get Scan Results Into the Hub Step by Step
The Hub is only as useful as the data pushed to it. The sequence below is the standard path; menu labels can differ by version, so treat the names as guides rather than exact strings.
- Confirm your access and role. Ask your administrator which Hub instance your organization uses and what role your account has. A read-only user cannot create projects or change policies, which explains many "the button is missing" questions.
- Create or locate the project. In the Hub, projects group scans of the same codebase over time. If a project already exists, note its exact name and version scheme; scans mapped to the wrong project produce misleading history.
- Run the scan where the code lives. The scanner runs against your source tree or build output. Point it at the correct project and version so the results attach to the right place.
- Upload the results. The scanner sends the Bill of Materials to the Hub. If your team uses a CI integration, this step is automated; if you run the scanner manually, you trigger the upload explicitly.
- Wait for the match. The Hub compares components against the KnowledgeBase. Newly disclosed vulnerabilities can appear against scans you ran weeks ago, so a project that was clean yesterday can show violations today without any code change.
- Read the report, then act. Open the project's vulnerability view, sort by severity, and check the policy violations panel. Each violation should name the component, the version, the rule, and the remediation guidance.
Read a Hub Report Without Overreacting
The most common mistake is treating every red item as an emergency. A Hub report lists components and their known vulnerabilities, but it does not know whether the vulnerable function is actually reachable in your code. A high-severity finding in a library you include but never call is a different problem from the same finding in a function on your main request path.
Work in this order: severity first, then component version, then whether a fixed version exists, then reachability. If a fixed version exists and the upgrade is low-risk, upgrade. If no fix exists, check whether the vulnerable code path is used; if it is not, document that and move on. If it is used, treat it as a real finding and plan mitigation.
What the numbers on the screen mean
Severity scores come from the vulnerability database, not from your code. A component with many low-severity findings can be safer in practice than one with a single high-severity finding in a core function. Use the count as a starting filter, not a verdict. Policy violations are separate from severity: a policy can flag any component with a copyleft license regardless of whether it has vulnerabilities, so a violation does not always mean a security problem.
Where People Go Wrong With the Hub
Scanning the wrong directory. Pointing the scanner at a build folder instead of source, or at a parent folder that includes vendored dependencies, changes the Bill of Materials. Check the component count against what you expect before trusting the report.
Ignoring project versioning. If every scan lands in the same version, you lose the ability to see what changed between releases. Create a new version per build or release so the Hub can show deltas.
Assuming the Hub scans on its own. The Hub does not reach into your repository. If no scan has run, the project is empty. A blank report usually means a missing upload, not a clean codebase.
Changing policies to silence violations. Loosening a rule to make a build pass hides the finding from everyone. Fix the component, or record an explicit, time-limited exception with a reason, so the next person understands the decision.
Forgetting that the KnowledgeBase updates. A scan is a snapshot of components; the vulnerability data behind it keeps changing. Re-check active projects on a regular cadence rather than relying on the result from the day you shipped.
Set a Rule of Thumb for Hub Use
Treat the Hub as the record of what you shipped and what was known about it at the time, not as a live security guard. Scan on every build, review new violations before release, and re-review existing projects on a schedule. If a violation blocks a release, resolve it by upgrading, replacing, or documenting an exception, in that order. If you cannot tell whether a finding is real, the Hub gives you the component and version; the next step is checking your own code for use of the vulnerable function, which the Hub cannot do for you.
Black Duck Hub for teams and inherited projects
When you inherit a project, open its version history before reading the latest report. A sudden jump in violations often means a new scan finally covered dependencies that were always present, not that the code changed. For teams, assign one owner per project so policy exceptions have a name attached, and keep the project list short enough that someone actually reviews it. A Hub full of stale projects is harder to trust than a small, current one.