From the course: GitHub Advanced Security Cert Prep by Microsoft Press
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Contrast the steps to execute code scanning in GitHub Actions vs. the CodeQL CLI - GitHub Tutorial
From the course: GitHub Advanced Security Cert Prep by Microsoft Press
Contrast the steps to execute code scanning in GitHub Actions vs. the CodeQL CLI
- [Instructor] Yeah, all right. This is a a good exam alert type question I could see GitHub asking you on the exam. When would you choose to do your CodeQL locally on your own machine using the CLI versus GitHub Actions? Well, GitHub Actions is all about automation and automated scanning, continuous integration. There's that answer. CodeQL CLI is something you can leverage optionally at your desktop for manual scanning. This gives you maximal flexibility and control. It's good for quick checks, specific needs and also frankly, for research that you could then add into your GitHub Actions workflows. All right, this was a long lesson in terms of number of objectives. Let's get into our demo. This demonstration is about accessing your QL files and your workflows wherever they might be. And speaking of which, I found a really great repo that GitHub publishes here. It's github/vscode-codeql-starter. And this is a Visual Studio Code workspace that makes it a lot easier to get started with…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives32s
-
(Locked)
Introduce a CodeQL analysis workflow to a repository1m 17s
-
(Locked)
List the locations in which CodeQL queries can be specified for use with code scanning3m 23s
-
(Locked)
Configure the language matrix in a CodeQL workflow2m 47s
-
(Locked)
Reference a CodeQL query from a public repository within a code scanning workflow1m 19s
-
(Locked)
Reference a CodeQL query from a private repository within a code scanning workflow1m 12s
-
(Locked)
Reference a CodeQL query from a local directory within a code scanning workflow38s
-
(Locked)
Reference a configuration file within the same repository1m 8s
-
(Locked)
Reference a configuration file in a remote public repository1m 6s
-
(Locked)
Execute code scanning with the CodeQL CLI41s
-
(Locked)
Contrast the steps to execute code scanning in GitHub Actions vs. the CodeQL CLI10m 24s
-
(Locked)
-
-
-
-
-