Install Free
IntelliJ | Using SonarQube for IDE | Dependency risks

Dependency risks

On this page

In connected mode, you can see the results from SonarQube Server’s Software composition analysis (SCA) directly in the IntelliJ UI. This includes:

  • vulnerabilities in your third-party open source dependencies
  • where your open source dependencies may conflict with your organization’s license policies

Prerequisites

  • SonarQube Server Enterprise edition, version 2025.4 or later
  • Advanced Security add-on with the SCA feature enabled on your SonarQube Server instance.
  • Running SonarQube for IntelliJ in connected mode with SonarQube Server. See the pages on Connected mode and Connected mode setup for more details.

How to view your dependency risks 

In SonarQube for IntelliJ SonarQube for IntelliJ, dependency risks are displayed in the SonarQube for IDE > Dependency Risks tab.

The Dependency Risks panel displays a list of dependency risks detected during analysis.

For each dependency risk, the following information is displayed: 

  • Risk type: Vulnerability and Prohibited license
  • Risk severity: Blocker, High, Medium, Low, or Info
  • Package name
  • Package version

You can select a risk to open it in SonarQube Server to get more details. 

Fixing dependency risks 

Because dependency risk analysis requires that you run in connected mode, any changes you make to the code must be analyzed by your instance of SonarQube Server. Here are two options to resolve dependency risks displayed by SonarQube for IntelliJ:

  • After you fix the dependency risk in your IDE, commit your code to the server and rerun the analysis on SonarQube Server. The new status of the risk will be reflected in your IDE.
  • Mark the dependency risk as Confirmed, Accepted, or Safe directly from the IntelliJ UI or in SonarQube Server. You can also add comments. The status update is then reflected in IntelliJ or SonarQube Server. 

Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved.

Creative Commons License