CodeQL Local Setup
Setting CodeQL setup locally
Last updated
Setting CodeQL setup locally
Last updated
CodeQL scans our handshake repo. for security checks, it runs periodically (weekly) on our master branch, and for every PR raised or pushed for master
and build
Currently, I have not added automation scripts to fasten our local setup, so it would involve some time-consuming manual tasks.
You will need this for fixing the security bugs highlighted by CodeQL.
Download CodeQL CLI from the
when done. you can follow the rest of the steps from .
Before you run queries, make sure to delete static builds of the storybook or dashboard, else you might have to wait for a long time.
you can change the path of the CodeQL executable.
If needed you can explore this .
Analyze Repo. - "codeql\codeql.exe" database analyze js-ts-db --format=sarif-latest -o test.sarif
Install Extension to support viewing `.sarif` log files
Once done, you can run the queries and test the bug side-by-side