Skip to main content
Version: Early Access

Sonatype Nexus IQ Plugin

The Sonatype Nexus IQ plugin is a Digital.ai Release plugin that enables the evaluation of binaries within the Nexus IQ server.

Prerequisites

Before you set up the Sonatype Nexus IQ plugin, ensure you have:

To install the plugin, place the latest Sonatype Nexus IQ plugin JAR file under the plugins directory in Digital.ai Release and restart the server.

Download link: Nexus IQ CLI JAR

Set Up a Connection to the Nexus IQ Server

To set up a connection to the Nexus IQ server:

  1. From the navigation pane, select Configuration > Connections.
  2. Under HTTP Server Connections, next to Nexusiq: Server, click Add button.
  3. Configure the connection with the following fields:
    • Title: Enter a symbolic name for the configuration.
    • URL: Enter the address where the Nexus IQ server can be reached.
    • Authentication method: Select the authentication method (default is Basic).
    • Username: Enter the login user ID on the server.
    • Password: Enter the login user password on the server.
    • Proxy host: (Optional) Enter the HTTP proxy host.
    • Proxy port: (Optional) Enter the HTTP proxy port.
    • Proxy username: (Optional) Enter the HTTP proxy username.
    • Proxy password: (Optional) Enter the HTTP proxy password.
    • Proxy domain: (Optional) Enter the domain to be used for NTLM proxy authentication.
    • CLI JAR: Enter the path to the local CLI JAR file.
  4. Click Test to verify the connection.
  5. Click Save to save the configuration.

XLR_NEXUS_IQ_CONNECTION

Available Tasks

The Sonatype Nexus IQ plugin includes the following tasks:

Evaluate Binary

Use the Evaluate Binary task to evaluate a binary in the Nexus IQ server.

To add an Evaluate Binary task:

  1. In your release template, add a task of type Nexusiq: Evaluate Binary.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
CLI *Nexus IQ server connection. Select from the dropdown or create a new connection if you don't have one
CLI JARPath to the local CLI JAR, which overrides the global server configuration
Binary Location *Location of the binary to evaluate (local file or URL)
Location UsernameUsername for remote password-protected locations
Location PasswordPassword for remote password-protected locations
Nexusiq App *Application name in Nexus IQ (Public ID)
Nexusiq Stage *Stage of the release to execute the binary evaluation

Output Properties

PropertyDescription
OutputConsole output of the process
ErrError stream of the process

Evaluate_Binary_Release

Check Compliance

Use the Check Compliance task to verify the compliance status of evaluated binaries.

To add a Check Compliance task:

  1. In your release template, add a task of type Nexusiq: Check Compliance.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
Nexusiq Server *Nexus IQ server connection
Nexusiq App *Application name in Nexus IQ (Public ID)
Nexusiq Stage *Stage of the release to check compliance for
Critical *Critical policy violation threshold
Severe *Severe policy violation threshold
Moderate *Moderate policy violation threshold

Output Properties

PropertyDescription
Evaluation DateCheck compliance evaluation date

Check Compliance

Tile and Dashboard configuration

To configure the Nexus IQ dashboard on a release:

  1. Open a completed release and select Release Dashboard from the Show dropdown list.
  2. Click Configure Dashboard.
  3. Click Add Tiles and select the NexusIQ tile.
  4. Click Configure on the NexusIQ tile.
  5. In the Tile Configuration window, select the following:
    • Nexus IQ server
    • Application ID
    • Security level label
  6. Click Save.

The dashboard now displays Nexus IQ evaluation details.

Tile Configuration

Dashboard Configuration

Report Creation

To create an audit report:

  1. From the navigation pane, select Reports > Audit report.
  2. Click Generate new report.
  3. Select the Time period.
  4. Click Preview results.
  5. Click Generate report.
  6. Download and extract the generated report.

On Success:

The extracted folder contains an overall report and individual release reports. For plugins with Chain of Custody (CoC) information, the Security and Compliance tab appears in the individual release reports.

Report_Generation

Report_xl

On Failure:

Failed task reports show the Compliance check as failed.

Failure_Report

Failure_Report_xl