Skip to main content

Esta versão do GitHub Enterprise foi descontinuada em 2022-10-12. Nenhum lançamento de patch será feito, mesmo para questões críticas de segurança. Para obter melhor desempenho, segurança aprimorada e novos recursos, atualize para a última versão do GitHub Enterprise. Para obter ajuda com a atualização, entre em contato com o suporte do GitHub Enterprise.

About enterprise policies

With enterprise policies, you can manage the policies for all the organizations owned by your enterprise.

To help you enforce business rules and regulatory compliance, policies provide a single point of management for all the organizations owned by an enterprise account.

Cada política empresarial controla as opções disponíveis para uma política no nível da organização. Você pode decidir não impor uma política, o que permite que os proprietários da organização configurem a política para a organização, ou escolher entre um conjunto de opções a serem impostas a todas as organizações pertencentes �  empresa.

For example, with the "Base permissions" policy, you can allow organization owners to configure the "Base permissions" policy for their organization, or you can enforce a specific base permissions level, such as "Read", for all organizations within the enterprise.

By default, no enterprise policies are enforced. To identify policies that should be enforced to meet the unique requirements of your business, we recommend reviewing all the available policies in your enterprise account, starting with repository management policies. For more information, see "Enforcing repository management polices in your enterprise."

While you're configuring enterprise policies, to help you understand the impact of changing each policy, you can view the current configurations for the organizations owned by your enterprise.

Another way to enforce standards within your enterprise is to use pre-receive hooks, which are scripts that run on your GitHub Enterprise Server instance to implement quality checks. For more information, see "Enforcing policy with pre-receive hooks."

Further reading