Hi, we are using Github with Advanced Security (if that matters). I have a number of repos that are reporting “SonarCloud is reporting errors. Check the SonarCloud status page for help.”:
you mentioned that not all your projects have this problem - is there any difference in configuration? Could you make sure that the Code security and analysis is enabled in the failing repos?
Did all problematic projects started having this problem at this same time? E.g. is the date of the last analysis reported by GitHub suggesting similar time?
Can you see any alerts reported after December 5th in the Code scanning Security tab? Also, if you introduce a vulnerability, is it reported?
you mentioned that not all your projects have this problem - is there any difference in configuration? Could you make sure that the Code security and analysis is enabled in the failing repos?
Code security and analysis is enabled. No obvious difference in config. I’ve only found one project that does not have this error in the repo.
Did all problematic projects started having this problem at this same time? E.g. is the date of the last analysis reported by GitHub suggesting similar time?
Does not appear so. One repo I am looking at now, shows this:
In one of the screenshots we can see Errors detected in 1 configuration - it looks like something is misconfigured there. There is an option to View configuration there - could you check what problem GitHub reports?
Thanks for the answer.
Could it be that you don’t have any vulnerabilities (‘security issues’ is the new name for vulnerabilities now) at this moment in the ‘not working’ repositories? What happens if you introduce one?
I wanted to chime in that I’m seeing the same problem as Bud B is. All the posts Bud B has made could have been about my repo. I’m using the same settings (Code security and analysis enabled on GitHub and automatic analysis setup in Sonar Cloud). Pull requests show successful analysis in GitHub and SonarCloud. Main branch reports scanning successful.
In the Security tab in GitHub it reports “Code scanning configuration error
SonarCloud is reporting errors. Check the SonarCloud status page for help.” The “unnamed SonarCloud config” shows our last scan was Dec 1, 2023.
We have some older low/medium maintainability issues on the project. But no security or reliability issues. Not sure I want to introduce a security issue into the code to test what happens.
As a side note, I have a new project I added with security issues and nothing getting pushed to GH security tab. Integration does not seem to be recreated.
Hello,
I’ve got the exact same problem as Monica and Bud B. Our last scan is on Dec 8, 2023 so not the exact same date but approximately the same… So I guess something has changed in early december ?
What I suspect for now is that GitHub started reporting SC integration as potentially not working in case there have been no security issues for some time. In case there are some security issues, they are reported correctly, and the integration is highlighted as working on the GitHub side.
@mattboll could you confirm that you also do not have any security issues reported now?
I created an internal ticket, and we’ll take a deeper look into it.
Hi Anita,
In sonacloud.io I’ve got **15** Security Hotspots to review
Also, in sonarcloud.io I can see that main branch is “not computed” so it may be something on sonar. Same problem for the develop branch Quality Gate Status : not computed
We have a Github project that is running SonarCloud. We’ve used the integration for almost two years and it’s been working well. Except now we’re seeing a security warning in Github from SonarCloud: “Code Scanning results may be out of date.” And it references a commit in a random topic branch and pull request from over five months ago.
That PR and commit was successfully scanned, merged, and the branch deleted. That PR, being old and merged, no longer appears in our SonarCloud pull history. Subsequent PRs have been scanned by SonarCloud and we’ve had no problems with functionality. But we still have the persistent security warning that won’t go away.
Has anyone else had this experience? Any suggestions?