SonarQube: Locate ignored/false positives later on

  • SonarQube 8.1
    I have over time marked a few “bugs” detected by SonarQube as false positives.
    Can I find a list of those now? I tried googling, and within https://community.sonarsource.com/
    Did not find good leads on whether there is a web-subpage that thas this.

I rather want to use in-code markers of the problems.
References:


Hey there,

You should be able to filter to the false positives you’ve marked on the Issues tab of your project.

When it comes to in-code markers, however, there is only “suppress” (when supported for a language), not “suppress as false positive”

1 Like

Brilliant! Thanx @ColinHMueller

Issues -> Resolution -> False Positives
(and similar for the other categories)

You might want to add a onliner on this in https://docs.sonarqube.org/latest/faq/

You can mark individual issues False Positive or Won’t Fix through the issues interface. If you’re using PR analysis provided by the Developer Edition, issues marked False Positive or Won’t Fix will retain that status after merge. This is the preferred approach.

->

You can mark individual issues False Positive or Won’t Fix through the issues interface. If you’re using PR analysis provided by the Developer Edition, issues marked False Positive or Won’t Fix will retain that status after merge. This is the preferred approach.
In case you later want to see the list of issues that has been removed it can be found in the web interface under Issues -> Resolution

Hey Peter,

To be honest, I already don’t like the weird nature of that page. First, it talks about issues. Then project cleanup, and then Elasticsearch, and finally Proxies??? Those are some of the questions I get asked about SonarQube the least often!

But it’s an interesting point, and maybe it does belong in the docs somewhere. Maybe in the Issues docs.

1 Like

Fair point - I agree. It is … a messy page :slight_smile:

Surely https://docs.sonarqube.org/latest/user-guide/issues/ is a better place