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:
- Go to
https://github.com/<YOUR_ORGANIZATION_NAME>/<YOUR_REPO_NAME>/settings/access
. - Go to the section 'Manage access.'
- Click on 'Add people' and add an admin.
Read more:
Updated over 1 year ago