From the course: GitHub Advanced Security Cert Prep by Microsoft Press
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Align repository branch protection configuration with written security policies - GitHub Tutorial
From the course: GitHub Advanced Security Cert Prep by Microsoft Press
Align repository branch protection configuration with written security policies
- [Narrator] It would make sense as a general starting point to protect the main branch, but depending upon how you're structuring your branches, and that's totally how your branching policy is, is another element of your governance, you may want to apply branch protection to more than just main. What the gate actually does is it forces a pull request workflow, which allows you to anchor things like code reviews, automated checks, and merge approvals before those changes are integrated into the destination branch. This is an opportunity where we can run code scanning and vulnerability checks on those pull requests. We've seen that throughout the training. Dependabot, code scanning, and secret scanning are all up in your pull requests business so to speak, offering comments, and sometimes blocking a merge until you resolve those issues, those alerts. Let's look at a quick example before we head into demo land. Let's say our repositories main branch is protected, requiring code review…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives40s
-
(Locked)
Use a CVE and CWE to describe a GitHub Advanced Security alert and list potential remediation3m 34s
-
(Locked)
Advanced security alert and list potential remediation1m 48s
-
(Locked)
Describe the decision-making process for closing and dismissing security alerts1m 21s
-
(Locked)
Determine the roles and responsibilities of development and security teams on a software development workflow1m 4s
-
(Locked)
Explain how to set a review cadence with security teams when appropriate1m 37s
-
(Locked)
Use security policies to instruct all contributors to better secure their repositories2m 4s
-
(Locked)
Compare the code scanning alert against the repository's security policy53s
-
(Locked)
Align repository branch protection configuration with written security policies11m 24s
-
(Locked)
-
-