AZDO.1022: Limit building pull requests from forked GitHub repositories.
| ID | AZDO.1022 |
| Severity | High |
| Suite | Mito |
| Product | Azure DevOps |
| Feature | Pipelines |
| Security area | Engineering systems |
| Resource type | Tenant |
| User impact of fixing | Low |
| Effort to fix | Low |
| MITRE ATT&CK | T1677 |
| Reads from | Azure DevOps |
| Further reading | https://learn.microsoft.com/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#validate-contributions-from-forks |
What this checks and how to fix it
Section titled “What this checks and how to fix it”Azure DevOps pipelines should not automatically build on every pull request and commit from a GitHub repository.
Rationale: Code should not be automatically built from GitHub.
Remediation action
Section titled “Remediation action”Enable the policy to stop building from GitHub repositories.
- Sign in to your organization.
- Choose Organization settings.
- Select Settings under Pipelines.
- Go to the section “Triggers” and turn on “Limit building pull requests from forked GitHub repositories”
Related links
Section titled “Related links”Mito check. Author: SebastianClaesson. Open-source licences.
Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).
© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.
