- Notifications
You must be signed in to change notification settings - Fork46
githubsatelliteworkshops/codeql
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CodeQL is GitHub's expressive language and engine for code analysis, which allows you to explore source code to find bugs and security vulnerabilities. During these beginner-friendly workshops, you will learn to write queries in CodeQL and find known security vulnerabilities in open-source Java and JavaScript projects.
There are two workshops on this topic. Both will cover the basics of writing queries in CodeQL. The first will focus on Java, and the second will focus on JavaScript.
Please complete thePrerequisites section (below) before the workshop.The following links contain the content that will be covered during the workshop:
- Thursday May 7 / 7:00am PDT:Finding security vulnerabilities in Java with CodeQL
- Thursday May 7 / 9:30am PDT:Finding security vulnerabilities in JavaScript with CodeQL
- InstallVisual Studio Code.
- Install theCodeQL extension for Visual Studio Code.
- You donot need to install the CodeQL CLI: the extension will handle this for you.
- Set up theCodeQL starter workspace.
- Important: Don't forget to use
git clone --recursive
orgit submodule update --init --remote
to update the submodules when you clone this repository. This allows you to obtain the standard CodeQL query libraries. - Open the starter workspace in Visual Studio Code:File >Open Workspace > Browse to
vscode-codeql-starter/vscode-codeql-starter.code-workspace
in your checkout of the starter workspace.
- Important: Don't forget to use
- Download and add the CodeQL database to be used in the workshop:
- If you are attendingFinding security vulnerabilities in Java with CodeQL, please downloadthis CodeQL database.
- If you are attendingFinding security vulnerabilities in JavaScript with CodeQL, please visitthis project page on LGTM.com, create an account (you can log in via OAuth using a GitHub account), and click to download the latest database for JavaScript.
- Unzip the database.
- Import the unzipped database into Visual Studio Code:
- Click the CodeQL icon in the left sidebar.
- Place your mouse overDatabases, and click the
+
sign that appears on the right. - Choose the unzipped database directory on your filesystem.
About
GitHub Satellite 2020 workshops on finding security vulnerabilities with CodeQL for Java/JavaScript.
Topics
Resources
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors6
Uh oh!
There was an error while loading.Please reload this page.