{"description":"The default branch of every repository rejects direct pushes, requires an approved pull request, and requires the CI status checks to pass.","domains":["change-management"],"evidence":{"assertion":"exists protection p for the default branch: p.enable_push == false and p.required_approvals \u003e= 1 and p.enable_status_check == true and p.block_on_rejected_reviews == true","collector":"gitea-api","frequency":"daily","source":"GET /api/v1/repos/{owner}/{repo}/branch_protections"},"frameworks":["soc2","iso-27001","nist-800-53"],"function":"preventive","id":"code.repo.default-branch-protected","mappings":{"iso-27001":["A.8.32"],"nist-800-53":["CM-3"],"soc2":["CC8.1"]},"providers":["code"],"related":[],"severity":"high","status":"attested","title":"Default branches accept changes only through reviewed pull requests","updated":"2026-10-03","url":"https://controls.sandbox002.dev.prosyon.ca/controls/code/repo-default-branch-protected/"}