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.
Reference a configuration file within the same repository - GitHub Tutorial
From the course: GitHub Advanced Security Cert Prep by Microsoft Press
Reference a configuration file within the same repository
- [Instructor] And what we're talking about here is actually CodeQL configuration. We've seen that we use YAML to configure the various bots, agents, and capabilities that GitHub Advanced Security gives us. So it should come as no surprise that we can have and then reference a separate config file for CodeQL. This is going to give us reuse, isn't it? Centralized configuration and reusable settings because you can have primary or point of contact config file, your golden config file, let's say, on how you want CodeQL to work. Or you may have multiple variant golden config files. You can store them centrally and use them as just centralized, reusable resources. Best practices with sharing is that we're consistently applying preferred analysis settings across different workflows. Very useful, good governance here. Good guidance from GitHub.
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)
-
-
-
-
-