How to exclude Salesforce Managed Packages from SonarQube scan

How can I exclude files of managed packages from the SonarQube scan? Currently, its finding issues from the managed packages in salesforce, which I want it to ignore.


see documentation Narrowing the focus with an analysis scope

To help narrow the focus, SonarQube gives you several options to precisely configure what will be analyzed and how. Most of the properties that define your analysis scope can be defined in the SonarQube UI. Other parameters must be set explicitly in the scanner invocation or in the appropriate configuration file


1 Like