Skip to main content

Sobre a Segurança Avançada do GitHub

O GitHub disponibiliza funcionalidades extras de segurança aos clientes sob uma licença do Advanced Security. Esses recursos também estão habilitados para repositórios públicos no

Quem pode usar esse recurso?

O GitHub Advanced Security está disponível para contas corporativas no GitHub Enterprise Cloud e no GitHub Enterprise Server. Alguns recursos do GitHub Advanced Security também estão disponíveis para repositórios públicos no Para obter mais informações, confira "Planos do GitHub."

Para obter informações sobre o GitHub Advanced Security for Azure DevOps, veja Configurar o GitHub Advanced Security for Azure DevOps no Microsoft Learn.

About GitHub Advanced Security

GitHub has many features that help you improve and maintain the quality of your code. Some of these are included in all plans, such as dependency graph and Dependabot alerts. Other security features require a GitHub Advanced Security (GHAS) license to run on repositories apart from public repositories on

For information about how you can try GitHub Enterprise with GitHub Advanced Security for free, see "Setting up a trial of GitHub Enterprise Cloud" and "Setting up a trial of GitHub Advanced Security" in the GitHub Enterprise Cloud documentation.

To purchase a GitHub Advanced Security license, you must be using GitHub Enterprise. For information about upgrading to GitHub Enterprise with GitHub Advanced Security, see "GitHub’s plans" and "About billing for GitHub Advanced Security."

Note: If you want to use GitHub Advanced Security with Azure Repos, see GitHub Advanced Security & Azure DevOps in our resources site. For documentation, see Configure GitHub Advanced Security for Azure DevOps in Microsoft Learn.

About Advanced Security features

A GitHub Advanced Security license provides the following additional features for private repositories:

  • Code scanning - Search for potential security vulnerabilities and coding errors in your code using CodeQL or a third-party tool. For more information, see "About code scanning" and "About code scanning with CodeQL."

  • CodeQL CLI - Run CodeQL processes locally on software projects or to generate code scanning results for upload to GitHub. For more information, see "About the CodeQL CLI."

  • Secret scanning - Detect secrets, for example keys and tokens, that have been checked into private repositories. If push protection is enabled, GitHub also detects secrets when they are pushed to your repository. Secret scanning alerts for users and push protection are available and free of charge for all public repositories on For more information, see "About secret scanning" and "Push protection for repositories and organizations."

  • Custom auto-triage rules - Help you manage your Dependabot alerts at scale. With custom auto-triage rules you have control over the alerts you want to ignore, snooze, or trigger a Dependabot security update for. For more information, see "About Dependabot alerts" and "Customizing auto-triage rules to prioritize Dependabot alerts."

  • Dependency review - Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "About dependency review."

The table below summarizes the availability of GitHub Advanced Security features for public and private repositories.

Public repositoryPrivate repository
without Advanced Security
Private repository
with Advanced Security
Code scanning
Secret scanning
Custom auto-triage rules
Dependency review

For information about Advanced Security features that are in development, see "GitHub public roadmap." For an overview of all security features, see "GitHub security features."

GitHub Advanced Security features are enabled for all public repositories on Organizations that use GitHub Enterprise Cloud with Advanced Security can additionally enable these features for private and internal repositories. For more information, see the GitHub Enterprise Cloud documentation.

About GitHub Advanced Security Certification

You can highlight your code security knowledge by earning a GitHub Advanced Security certificate with GitHub Certifications. The certification validates your expertise in vulnerability identification, workflow security, and robust security implementation. For more information, see "About GitHub Certifications."