Skip to content

CodeQL fails to alert on a trivial simple solution #194

Answered by hvitved
glav asked this question in General
Discussion options

You must be logged in to vote

Hi @glav.

Could you please elaborate on which security alerts you were expecting? We do have a query for detecting hard-coded connection strings, but it does not produce any alerts because your SqlConnectionString is not actually used as a connection string.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@glav
Comment options

Answer selected by xcorail
Comment options

You must be logged in to vote
1 reply
@hvitved
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants