Skip to main content

Configuring additional secret scanning settings for your enterprise

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

Quem pode usar esse recurso?

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 both GitHub Advanced Security and secret scanning enabled.

Accessing the additional settings for secret scanning

  1. No canto superior direito do GitHub, selecione sua foto de perfil.
  2. Dependendo do ambiente, selecione Sua empresa ou Suas empresas e escolha a empresa que deseja ver.
  3. Do lado esquerdo da página, na barra lateral da conta empresarial, clique em Configurações.
  4. In the left sidebar, click Code 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 .

Configuring AI detection to find additional secrets

Verificação de segredos do Copilot's detecção de segredo genérico is an AI-powered expansion of secret scanning that scans and creates alerts for unstructured secrets, such as passwords.

  1. Under "Additional settings", to the right of "Use AI detection to find additional secrets", ensure the setting is toggled to "On".

Note

Você não precisa de uma assinatura de GitHub Copilot para usar o detecção de segredo genérico do Verificação de segredos do Copilot. Verificação de segredos do Copilot estão disponíveis para repositórios privados em empresas GitHub Enterprise Cloud que têm as GitHub Advanced Security habilitadas.

To learn more about generic secrets, see Detecção responsável de segredos genéricos com a verificação de segredos do Copilot.