Confirm whether GitHub Advanced Security is enabled
-
Em GitHub, acesse a página principal do repositório.
-
No nome do repositório, clique em Settings. Caso não consiga ver a guia "Configurações", selecione o menu suspenso , clique em Configurações.

-
Na seção "Security" da barra lateral, clique em Code security and analysis.
-
On the settings page, scroll down to "Advanced Security."
-
If there is an associated and active Enable button, Advanced Security is available for this repository but not yet enabled.
-
If use of GitHub Advanced Security is blocked by a policy, the Enable button is inactive and the owner of the policy is listed.

Requesting access to GitHub Advanced Security
- In the "Advanced Security" settings, click the enterprise or organization name to display a list of users with access to edit the policy that controls access to GitHub Advanced Security. For more information, see Como impor políticas para segurança e análise de código na empresa.
- Follow your company's policy for requesting access to additional features.
Enabling GitHub Advanced Security
- Open the "Code security" settings page.
- Next to the "Advanced Security" feature, click Enable.
- Rerun code scanning.