Skip to main content

Configuring additional secret scanning settings for your enterprise

Learn how to configure additional secret scanning settings for your enterprise.

Who can use this feature?

Enterprise owners and members with the admin role

About additional settings for secret scanning

There are some additional secret scanning settings that cannot be applied to repositories using security configurations, so you must configure these settings separately:

These additional settings only apply to repositories with secret scanning enabled and GitHub Advanced Security or GitHub Secret Protection.

Accessing the additional settings for secret scanning

  1. In the top-right corner of GitHub, click your profile photo.
  2. Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.
  3. At the top of the page, click Settings.
  4. In the left sidebar, click Advanced Security.
  5. Scroll down the page to the "Additional settings" section.

To provide context for developers when secret scanning blocks a commit, you can display a link with more information on why the commit was blocked.

  1. Under "Additional settings", to the right of "Resource link for push protection", click .
  2. In the text box, type the link to the desired resource, then click .