Nexus
Overview
Heeler connects with the Sonatype Nexus Repository for analysis of the artifacts running in your environment. Heeler connects to Nexus using a user token and can utilize the Broker for on-premise deployments with limited accessibility.
For on-premise Nexus instances, these instructions assume you have already setup the Broker with access to the Nexus registry. See Instructions for the Broker here.
Nexus User and Permissions
Heeler connects to Nexus at a given domain using an account user name
and user token
. We recommend creating a Heeler-specific account that has the minimum permissions required to harvest the necessary information for Heeler to perform its analysis. For more information on reference tokens see: https://help.sonatype.com/en/user-tokens.html#generating-a-user-token
Using a User Token instead of your real password is more secure and avoids exposing personal credentials.
Log in to your Nexus Repository Manager UI.
In the top-right corner, click your username and choose User Token from the menu.
If you don’t already have one, click Access User Token (or Reset to regenerate).
Copy the Username and Password values shown — these will be your “Username” and “Token” for Heeler.
Note: If your Nexus administrator has disabled User Tokens, request a dedicated automation account with read permissions.
Add Nexus to Heeler
In Heeler, select the Settings icon
from the top navigation
Select Connections -> Registries then select
Add Registry

Select the Nexus Registry type
Select
Artifact
Select Maven as the
Artifact Type
Enter a
Name
for the RegistryEnter the
Domain
of the Nexus repositoryEnter the
User Name
andReference Token
for Heeler to use to access the Nexus repositoryEnter the repository paths that Heeler should collect from. You can add multiple paths.
If the registry is public-facing, check
Public Internet Facing
. If the registry is on-premise, leave unchecked as Heeler will connect to the repository using the Broker.

After clicking Add Registry
, its Health property should update. If the Registry is on-prem or if it is public-facing and its credentials validated, it should update to Healthy
.

If your Registry is public-facing and Healthy
, the setup is complete. Heeler will be able to download and analyze artifacts.
Link Nexus Connection to the Broker
If the Nexus instance is utilizing the Broker, you need to add the newly added connection to the Broker.
Select the
icon from the top navigation
Select Connections -> Brokers
Edit the Broker you want to add the Harbor connection to
Select the Nexus connection by name for the Broker connection
Save the changes

Last updated
Was this helpful?