Skip to main content

Enterprise policies

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

What are enterprise policies and why are they important?

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.

Chaque stratégie d’entreprise contrôle les options disponibles pour une stratégie au niveau de l’organisation. Vous pouvez choisir de ne pas appliquer de stratégie, ce qui permet aux propriétaires d’organisations de configurer la stratégie pour l’organisation, ou vous pouvez choisir parmi un ensemble d’options à appliquer pour toutes les organisations détenues par votre entreprise.

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.

What are the steps to enforce enterprise policies?

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.

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.

For a full list of repository management policies, see Application de stratégies de gestion des dépôts dans votre entreprise.

Another way to enforce standards within your enterprise is to use pre-receive hooks, which are scripts that run on votre instance GitHub Enterprise Server to implement quality checks. For more information, see Application d’une stratégie avec des hooks de pré-réception.

Further reading