# Code owner (CODEOWNERS entry)

Tier 2 key, `key:codeowners`. Page: https://ghtier.com/tier/keys-policies/codeowners

A code owner's approval satisfies review for their paths. Whoever can edit CODEOWNERS on the protected branch chooses who approves.

**Related permissions:** [Contents: Write (repository)](https://ghtier.com/tier/permissions/contents-write.md) (Tier 2), [Pull requests: Write (repository)](https://ghtier.com/tier/permissions/pull-requests-write.md) (Tier 2)

**Defenses (checklist):** [CODEOWNERS in place, required on sensitive paths](https://ghtier.com/checklist/repo-codeowners.md)

**Strange findings:** [A deleted or renamed team in CODEOWNERS removes code owner review](https://ghtier.com/strange-findings/finding-codeowners-unknown-owner-drops-review.md)

**Audit log events that show it:** [protected_branch.update_require_code_owner_review](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise), [git.push](https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise)

**Sources:**
- [GitHub Docs: About code owners](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
