Choose controls across the development lifecycle
Trace one change through push protection, pull request checks, analysis and a security campaign.
Follow one change through three controls
A maintainer brings a new package into a service and edits the code that calls it. Three different questions arise. Secret Protection can identify supported credential patterns in repository content. Dependency review can compare package changes against advisory and license policy. Code scanning analyzes source code using a configured tool. Record the question and its evidence source before choosing a control.
Place the check where its owner can still change the outcome. Push protection can interrupt a supported secret at push time. A required pull request check can govern merging the proposed change. Scheduled analysis can surface findings in existing code as rules change. A campaign gives teams a bounded set of existing alerts to resolve by a date. These controls can all apply to the same repository.
Use repository alerts for detailed evidence and the organization security overview for coverage and trends across repositories you can see. Several security features are free on public GitHub repositories. For private or internal code, verify the plan and purchased product. GitHub Secret Protection and GitHub Code Security have distinct entitlements. GitHub Code Security includes premium supply chain capabilities. Ask developers to validate and fix affected code, security staff to guide triage, and administrators to maintain access and policy.
Map the evidence for one pull request
Take a pull request that contains both an application change and a lockfile change. Record the base and head revisions. A dependency comparison can show what entered the package tree. A code scan can point to a rule and location. Neither result tells you whether a leaked credential was revoked. In your release notes, link each result to the question it answers.
Worked case 1
A manager sees no alerts on a newly imported repository. What evidence would support a coverage claim?
Check your reasoning
Confirm entitlement and feature settings, then check for successful analysis of the expected revision and languages. An empty alert list alone cannot distinguish a clean result from missing input.
Worked case 2
A team wants both early feedback and a shared merge decision for dependency changes. Where should each happen?
Check your reasoning
Give authors dependency information on the pull request. Require the configured dependency review check under the applicable branch rule so reviewers have a consistent merge decision.
GitHub security products and availability · GH-500 skills outline
Related lesson in GitHub Administration. Apply repository policy and triage alerts.
Practice with the recording
A release contains a leaked token, an outdated package and a coding defect. Which signals would you assign to the three owners?
Check your reasoning
Secret scanning can identify a supported credential pattern, Dependabot can match a known dependency to an advisory, and code scanning can report a code-level finding. Track each through its own remediation and verify the resulting credential, dependency and code state.
Current GH-500 course · 3:53 · freeCodeCamp · GitHub Advanced Security course · 23:58
Security ownership
For a repository with external dependencies, draw the controls that act during authoring, at push, during pull request review and after merge. Assign a team to each alert type and verify their permissions under the actual repository and organization settings.
Choose controls across the development lifecycle quiz
Answer 3 questions. Check each answer for an explanation.