Ensure disabling anonymous Git read access for a repository

Anonymous Git read access for the public.

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

REMEDIATION

As a repository administrator, you can enable or disable anonymous Git read access for public repositories that meet specific requirements.

SaaS:

  1. On your GitHub Enterprise Server instance, navigate to the repository's main page.
  2. Under your repository name, click Settings.
  3. Next to "Enable anonymous Git read access", click Disable.
  4. Review the changes. To confirm, type in the name of the repository and click I understand, enable anonymous Git read access.

Read more: