Ensure two administrators are set for each repository

Repository administrators have the highest permissions to said repository. These include the ability to add/remove collaborators, change branch protection policy, and convert to a publicly accessible repository. Due to the liberal access granted to a repository administrator, it is highly recommended that only two contributors occupy this Role.

Risk Level: medium
Platform: Github
Spectral Rule ID: GH-HRD032

REMEDIATION

Change the number of admins.

SaaS:

  1. Go to https://github.com/<YOUR_ORGANIZATION_NAME>/<YOUR_REPO_NAME>/settings/access.
  2. Go to the section 'Manage access.'
  3. Click on 'Add people' and add an admin.

Read more: