Skip to content

Fixed code scanning alerts still show up as open #23403

Discussion options

You must be logged in to vote

After talking with GitHub support this was the solution I was given that worked for me:

Hello Eduardo,

I heard back from engineering and the reason that the alerts are open is because they are open in a previous stale configuration that is no longer updated. This happened when the analysis file was renamed and left the analyses under the old name stale.

This can be detected through the API, by using the list analyses request (Code scanning - GitHub Docs). From that response you can see multiple analyses that has “deletable”: true and with different values in the category field.

To fix it you should delete all the stale configurations using the delete API (Code scanning - GitHub Docs). No…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Scanning Code scanning: our code analysis features, powered by the CodeQL engine
2 participants