We see the rule for “Regular expressions should not be vulnerable to Denial of Service attacks” is enabled for one of our projects, the issue in particular is in the code and is being reported in GitHub but it doesn’t show up in SonarQube, could you help if there are any configuration changes that needs to be done for the issue to show up in SonarQube as well?
Please see screenshots attached. Code scanning in GitHub is reporting the issue and the issue is not being picked up in SonarQube even when we have a similar rule available.
Thanks for the screenshot. It seems to show that an issue is raised in Github, not by SonarQube analysis, which is what I thought you were saying, but by CodeQL.
Which language are we talking about? Could you please provide a compact code sample to reproduce this?