Skip to content

Where are Closed Alerts Stored for CodeQL? #23399

Discussion options

You must be logged in to vote

Strictly speaking, CodeQL does not know about closed alerts at all. It’s just an analysis tool that takes a particular source tree and produces a list of alerts that are present in that source tree. The alert list, as a SARIF file, is then uploaded to GitHub for further processing by a different component known as Code Scanning. It is Code Scanning that compares results from different commits in a repository to decide that some alerts are “the same” between them, and others are “new” or “fixed”.

This might seem like useless pedantry, but the difference in naming is relevant for your question because CodeQL is the part you can see run. If you’re using the default Actions setup, you can see…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants