Skip to content

Run all rules at once #10374

Answered by MathiasVP
CaledoniaProject asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @CaledoniaProject,

You can run all queries in a given suite on a database using a command like:

codeql database analyze /path/to/my-database java-security-and-quality.qls 

which will run all of the queries in the Java security-and-quality suite.

Note that CodeQL will schedule all the queries to be run as soon as the engine determines that it's best to start them. This won't always mean that they all run at once (since it might not be the best option due to resource constraints like memory pressure, number of available cores, etc.)

Does that help?

Replies: 1 comment

Comment options

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