Nexus Container Registry
Integrate your Nexus on-premises account with OX to centralize security findings alongside container, pipeline, cloud, and runtime signals already in OX.
OX scans Nexus on a schedule and on demand, enriches findings with OX context (application mapping, workflows, and compliance), and presents a unified queue for investigation and reporting.
After you connect, Nexus scan results appear in the Active issues page (use the filter Source tool > Nexus).
What OX adds
Context and correlation: OX maps findings to applications, services, and teams to show impact and ownership.
Prioritization with severity factors: OX may reprioritize scanner severities when exploitability and environment context reduce risk (for example, Critical → High). Severity factors explain why the priority changed.
Evidence at a glance: When available, OX displays scanner evidence, file locations, and remediation guidance alongside OX analytics to speed triage.
Connection methods
OX connects to Nexus Container Registry using a Nexus user token. The token provides a user token name and passcode, which are entered in the User Name and Password fields in OX instead of the Nexus account login credentials.
Create a dedicated Nexus account with the required read permissions and generate a user token for that account. Do not enter your personal Nexus username or password in OX.
For general information about connection methods, see Connection methods.
Prerequisites
OX permission to configure connectors
Access to the Nexus on-premises instance you want to connect.
Nexus user tokens enabled in your Nexus Repository instance, and permission for the dedicated account to access its user token (
nx-usertoken-current).Add the OX Security IP address to Nexus's whitelist or your firewall rules.
The Docker-hosted repository in Nexus has either an HTTP or HTTPS port enabled.
Connect Nexus Container Registry to OX
Step 1: Create an OX role and local user [Nexus]
Create a dedicated Nexus user for OX. Use this account to generate the user token; do not enter its login password in OX.
The step has several parts.
Create role and permissions
Verify that the prerequisites are in place.
Log in to the Nexus repository.
Select the Gear icon and select Roles from the menu pane.
In Roles, select Create Role.
Enter the details:
Role type: Nexus role
Role ID: A text identifier of your choice.
Role name: A descriptive name.
Select the Modify Applied Privileges button.

In Privileges Selection, select the privileges:
nx-repository-view -*-*- browse
nx-repository-view -*-*- read
nx-repository-view-docker -*- browse
nx-repository-view-docker -*- read
nx-search-read
nx-repository-admin-docker-*-read
Select Confirm.
To save the new role, scroll to the bottom of the screen and select Save.
Create user
From the menu pane, select Users.
Select the Create local user button.
Complete the mandatory fields:
Username
First name
Last name
Email address to receive notifications.
Password and confirm it
Status: Active
Scroll down to Roles and add the role to the Granted box.

Select Create local user. A success message appears. If the verification fails, check the credentials.
Enable Docker-hosted repository port
Select Repositories from the menu pane.
Select the Docker-hosted repository.
Enable either of the HTTP ports.

Step 2: Generate a Nexus user token [Nexus]
Generate a user token for the dedicated Nexus account created in Step 1. OX uses the token name and passcode to authenticate to Nexus Container Registry.
Sign in to Nexus Repository using the dedicated OX account.
Select your username in the upper-right corner.
Select User Token.
Select Access User Token. If a token has not been generated, generate one first.
If prompted, enter your Nexus account credentials and select Authenticate.
Copy the user token name (name code) and user token passcode (pass code). Use these values when configuring the connector in OX.
Note: Store the token credentials securely. Do not enter the Nexus account password in OX. For more information, see Sonatype User Tokens.
Step 3: Connect OX to Nexus [OX]
Verify that the prerequisites are in place.
In OX, go to Connectors > Registry > Nexus Container Registry to open the connector configuration dialog.

In Configure your Nexus Container Registry credentials, enter the following parameters.
Nexus Container Registry Host URL
Enter the URL of your Nexus Container Registry instance.
User Name
Enter the Nexus user token name (name code) generated in Step 2. Do not enter the Nexus account username.
Password
Enter the Nexus user token passcode (pass code) generated in Step 2. Do not enter the Nexus account password.
Connection Name
The name is generated automatically by OX. You can change it at any time.
OX Broker
Enable to connect through an OX Broker. Use this option when Nexus Container Registry is accessible only through an internal network or when your organization requires all connector traffic to be routed through an OX Broker.
Bypass SSL Verification (not recommended)
Enable this option if your environment lacks a proper certificate or uses a self-signed certificate
Select CONNECT. OX validates the credentials.
Optional configurations
To change the images OX scans and monitors, see the section Change the locations OX scans.
To connect more Nexus accounts to the same organization in the OX platform, repeat the process.
Change the locations OX scans
By default, OX scans everything if you did not make a specific selection. Once you have a connection, you can change the locations that OX scans and monitors.
Use the Gear icon at the bottom of the Configuration screen.
OX displays the locations or objects that OX scans and monitors.
Change the selection as needed.
Select SAVE.
Last updated