Skip to content

Add CODEOWNERS: require RelOps review for security-critical changes#45

Merged
rcurranmoz merged 1 commit into
mainfrom
harden-codeowners
Jul 15, 2026
Merged

Add CODEOWNERS: require RelOps review for security-critical changes#45
rcurranmoz merged 1 commit into
mainfrom
harden-codeowners

Conversation

@rcurranmoz

Copy link
Copy Markdown
Collaborator

Applies the same change-control pattern as hangar's allowlist safeguard, scoped to relops-bootstrap's security-critical surface — the repo is the system under security review.

Why: today main requires 1 approval but not code-owner review, and write access is a broad set of individual collaborators (incl. releng/taskcluster). So a change that widens the Cloud Armor CIDR, relaxes Cloud Run ingress, adds a SCEP role (= mints certs for a new role), or edits verify_mtls_headers could merge with a single rubber-stamp and no RelOps sign-off.

Gated to @mozilla-platform-ops/relops: /terraform/, /broker/, /scripts/bootstrap-step-ca.sh, /orchestrator/, /mdm/, /cloudbuild.yaml, /SECURITY.md, and /.github/CODEOWNERS (self-gate). Pure docs (README.md, docs/*.html, sub-READMEs) are intentionally not gated.

Effect: RelOps owns the infra, so releng/others need a relops approval for changes under those paths — the intended change-control (confirmed intent).

To enforce (repo-admin, being done alongside this):

  1. Grant the relops team Write on this repo (it currently has none).
  2. Enable "Require review from Code Owners" on main branch protection.

🤖 Generated with Claude Code

relops-bootstrap defines the trust anchors, mTLS/Cloud-Armor network posture,
broker auth, per-secret IAM, and the CA's SCEP provisioners — anyone with write
could previously get a change to any of those merged with a single approval from
a broad collaborator set (incl. releng/taskcluster), no RelOps sign-off required.

Gate the security-critical surface to @mozilla-platform-ops/relops (and the
CODEOWNERS file itself). Pure docs (README, docs/*.html, sub-READMEs) are left
ungated to keep documentation low-friction.

Prerequisite: grant the relops team WRITE access to this repo, and enable
"Require review from Code Owners" on the main branch protection (it currently
requires 1 approval but not code-owner review).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rcurranmoz
rcurranmoz merged commit a880636 into main Jul 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant