Skip to main content
Connect Sonatype Nexus IQ Server, also sold as Sonatype Lifecycle, so CloudThinker can review applications, policy violations, and the components behind them. The connection signs in with an IQ Server user token and only reads data.

Prerequisites

  • An IQ Server installation that CloudThinker can reach over HTTPS. For a private address, follow Reaching private services.
  • An IQ Server administrator who can create a role and grant it at your organizations.
  • The Admin role in your CloudThinker workspace. See Roles.

Setup

1

Create a read-only role

Ask your IQ Server administrator to click the System Preferences icon, then Roles, and click Create Role. Enter a name such as cloudthinker-reader, set only View IQ Elements to Can, and click Save. See Sonatype’s role instructions.
2

Grant the role at your organizations

Click the Organization & Policies icon and select each organization CloudThinker should review. Click Access, then Add Role. Choose the role, move the CloudThinker user to Associated, and click Add.
3

Generate a user token

Sign in to IQ Server as that user. Open the user menu, choose Manage User Token, and click Generate User Token. Copy the User Code and Passcode. IQ Server shows them only once. See Sonatype’s user token instructions.
4

Add the connection in CloudThinker

Open Settings → Workspace → Connections, open the Discover tab, and select Sonatype Nexus IQ Server. Click Connect, fill in the fields below, then click Connect in the dialog.Success state: the connection shows a Connected status and reports how many applications the user sees. CloudThinker then opens a chat that takes a read-only deep look at the connection (“Often takes about 15 min. You can leave the chat.”). To run it again later, open the card’s More menu and choose Try in chat.

Connection details

CloudThinker refuses redirects, so enter the exact address IQ Server answers at. Prefer a user token over a password: you can revoke the token without changing the user’s sign-in.

Required permissions

Grant the role only at the organizations agents should review. Applications and reports follow the user’s access, so agents see nothing outside those organizations.
Use a dedicated user whose role has only View IQ Elements. The connection never writes, but a narrow role keeps the token harmless if it leaks.

Agent capabilities

Threat bands follow Sonatype: critical is 8 to 10, severe 4 to 7, moderate 2 to 3, and low 1. Agents leave waived and grandfathered violations out of counts unless you ask for them. Every figure comes from a report’s evaluation date, not the application’s current code. Agents cannot start an evaluation, waive a violation, or change policies, applications, or organizations. Make those changes in IQ Server.

Verify the connection

Expect real organization and application names, with a stage and evaluation date per application. A failed section is unavailable data, not an empty list.

Example prompts

Troubleshooting

The code or passcode is wrong, or the token expired. Generate a new user token in IQ Server, then edit the connection and paste both values.
Grant the role with View IQ Elements at the organizations to review, then connect again. During an investigation, HTTP 403 on one section means the role is missing at that organization or application.
Enter the final HTTPS address IQ Server serves directly. Keep its context path and leave off /api/v2.
Confirm the address belongs to IQ Server, not Nexus Repository or another Sonatype service. Check the context path with your administrator.
Install a certificate from a trusted authority, or paste the issuing CA certificate into CA certificate (optional). If CloudThinker says the CA certificate is not valid PEM, paste the full certificate, including its BEGIN and END lines.
CloudThinker could not open a connection to that address. Confirm the URL starts with https:// and that your firewall lets CloudThinker reach IQ Server. Browser access from your laptop alone is not enough.
IQ Server has no policy evaluation for that application or stage. Run an evaluation from your build pipeline or the IQ Server UI, then ask again.

Security

  • Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
  • Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
  • Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
  • Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
  • Grant View IQ Elements only at the organizations agents need, and keep the role free of other permissions.
  • If your administrator enables user token expiry, generate a new token before it lapses and update the connection.

Sonatype Nexus Repository

Inspect the repositories and component versions your builds publish.

SonarQube

Let agents explain failed quality gates and triage code issues.