I’m running a scan of my projects using SonarQube, but noticed that one of the rules was not found, and I would like to confirm what could be the reason for the miss(false negative).
the rule is “Using hardcoded IP addresses is security-sensitive”
I have scanned several Python and Java projects with SonarQube and confirmed from the Quality Profile that the rules are correct and also activated.
But my code does have a lot of 192.168.x.x or 10.x.x.x hardcode IP
This is a Security Hotspot, and it’s not possible to filter on these in the global Issues page (they are only visible at the project-level when browsing the Security Hotspots tab).
I admit it’s confusing that even in SonarQube 9.9 LTS, it’s possible to filter on security hotspot rules in the global issues tab. I’ll pass this along.