| title | Applying the GitHub-recommended security configuration to your enterprise | |||
|---|---|---|---|---|
| shortTitle | Apply recommended configuration | |||
| intro | Secure your code with the security enablement settings created, managed, and recommended by {% data variables.product.github %}. | |||
| permissions | {% data reusables.permissions.security-configuration-enterprise-enable %} | |||
| versions |
|
|||
| topics |
|
The {% data variables.product.prodname_github_security_configuration %} is a set of industry best practices and features that provide a robust, baseline security posture for enterprises. This configuration is created and maintained by subject matter experts at {% data variables.product.github %}, with the help of multiple industry leaders and experts. The {% data variables.product.prodname_github_security_configuration %} is designed to successfully reduce the security risks for low- and high-impact repositories. We recommend you apply this configuration to all the repositories in your enterprise.
{% data reusables.security-configurations.github-recommended-warning-enterprise %}
Applying the {% data variables.product.prodname_github_security_configuration %} to repositories in your enterprise
{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.advanced-security-tab %}
- In the "{% data variables.product.company_short %} recommended" row of the configurations table for your enterprise, select the Apply to {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click All repositories or All repositories without configurations. {% data reusables.security-configurations.apply-configuration-by-default %}
{% data reusables.security-configurations.apply-configuration %}
{% data reusables.security-configurations.failure-handling-enterprise %}
{% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.advanced-security-tab %}
- In the "Configurations" section, select "{% data variables.product.company_short %} recommended".
- In the "Policy" section, next to "Enforce configuration", select Enforce from the dropdown menu.
{% data reusables.code-scanning.custom-security-configuration-enforcement-edge-cases-enterprise %}