You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise.md
+35-23Lines changed: 35 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,22 @@ You can enforce policies to manage the use of security features within organizat
35
35
36
36
Additionally, you can enforce policies for the use of {% data variables.product.prodname_GHAS %}{% ifversion ghas-products %} products{% endif %} in your enterprise's organizations and repositories.
37
37
38
+
## Enforcing a policy for the availablity of {% data variables.product.prodname_AS %} in your enterprise's organizations
39
+
40
+
{% data variables.product.github %} bills for {% data variables.product.prodname_AS %} products on a per-committer basis. See [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security#managing-committers-and-costs).
41
+
42
+
You can enforce a policy that controls whether repository administrators are allowed to enable features for {% data variables.product.prodname_AS %} in an organization's repositories. You can configure a policy for all organizations owned by your enterprise account, or for individual organizations that you choose.
43
+
44
+
Disallowing {% data variables.product.prodname_GH_cs_or_sp %} for an organization prevents repository administrators from enabling {% data variables.product.prodname_GH_cs_or_sp %} features for additional repositories, but does not disable the features for repositories where the features are already enabled.
45
+
46
+
{% data reusables.enterprise.role-permission-hierarchy %}
47
+
48
+
{% data reusables.enterprise-accounts.access-enterprise %}
49
+
{% data reusables.enterprise-accounts.policies-tab %}
50
+
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
51
+
{% data reusables.enterprise-accounts.advanced-security-organization-policy-drop-down %}
52
+
{% data reusables.enterprise-accounts.advanced-security-individual-organization-policy-drop-down %}
53
+
38
54
{% ifversion ghec %}
39
55
40
56
## Enforcing a policy for visibility of dependency insights
@@ -46,7 +62,7 @@ Across all organizations owned by your enterprise, you can control whether organ
46
62
{% data reusables.enterprise-accounts.access-enterprise %}
47
63
{% data reusables.enterprise-accounts.policies-tab %}
48
64
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
49
-
1.Under "Dependency insights", review the information about changing the setting.
65
+
1.In the "Policies" section, under "Dependency insights", review the information about changing the setting.
50
66
1. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
51
67
1. Under "Dependency insights", select the dropdown menu and click a policy.
52
68
@@ -63,32 +79,26 @@ Across all organizations owned by your enterprise, you can allow members with ad
63
79
{% data reusables.enterprise-accounts.access-enterprise %}
64
80
{% data reusables.enterprise-accounts.policies-tab %}
65
81
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
66
-
1.Under "Enable or disable {% data variables.product.prodname_dependabot_alerts %} by repository admins", use the dropdown menu to choose a policy.
82
+
1.In the "Policies" section, under "Enable or disable {% data variables.product.prodname_dependabot_alerts %} by repository admins", use the dropdown menu to choose a policy.
67
83
68
84
{% endif %}
69
85
70
-
## Enforcing a policy for the use of {% data variables.product.prodname_GH_advanced_security %} in your enterprise's organizations
86
+
## Enforcing a policy to manage the use of {% data variables.product.prodname_AS %} features in your enterprise's repositories
71
87
72
-
{% data reusables.advanced-security.about-ghas-organization-policy %}
73
-
74
-
{% data reusables.enterprise.role-permission-hierarchy %}
88
+
Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage the use of {% data variables.product.prodname_AS %} features in the repositories.
75
89
76
90
{% data reusables.enterprise-accounts.access-enterprise %}
77
91
{% data reusables.enterprise-accounts.policies-tab %}
78
92
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
79
-
1. In the "{% data variables.product.prodname_GH_advanced_security %} policies" section, under "{% data variables.product.prodname_GH_advanced_security %} availability", select the dropdown menu and click a policy for the organizations owned by your enterprise.
80
-
81
-
{% data reusables.enterprise-accounts.advanced-security-organization-policy-drop-down %}
82
-
{% data reusables.enterprise-accounts.advanced-security-individual-organization-policy-drop-down %}
83
-
84
-
## Enforcing a policy to manage the use of {% data variables.product.prodname_GH_advanced_security %} features in your enterprise's repositories
85
-
86
-
Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage the use of {% data variables.product.prodname_GH_advanced_security %} features in the repositories. {% data reusables.advanced-security.ghas-must-be-enabled %}
93
+
{% ifversion ghas-products %}
94
+
1. In the "Policies" section, under "Repository administrators can enable or disable `PRODUCT`", use the dropdown menu to define whether repository administrators can change the enablement of {% data variables.product.prodname_cs_and_sp %}.
95
+
{% else %}
96
+
1. In the "{% data variables.product.prodname_GHAS %} policies" section, under "Enable or disable {% data variables.product.prodname_GHAS %} by repository admins", select the dropdown menu and click a policy.
97
+
{% endif %}
87
98
88
-
{% data reusables.enterprise-accounts.access-enterprise %}
89
-
{% data reusables.enterprise-accounts.policies-tab %}
90
-
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
91
-
1. In the "{% data variables.product.prodname_GH_advanced_security %} policies" section, under "Enable or disable {% data variables.product.prodname_GH_advanced_security %} by repository admins", select the dropdown menu and click a policy.
99
+
{% ifversion ghas-products %}
100
+
<!--This option is included automatically by the "Repository Admins can Enable or Disable Secret Protection" option, which is why this section is omitted for `ghas-products` versions.-->
101
+
{% else %}
92
102
93
103
## Enforcing a policy to manage the use of {% data variables.product.prodname_secret_scanning %} in your enterprise's repositories
94
104
@@ -99,18 +109,20 @@ Across all of your enterprise's organizations, you can allow or disallow people
99
109
{% data reusables.enterprise-accounts.access-enterprise %}
100
110
{% data reusables.enterprise-accounts.policies-tab %}
101
111
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
102
-
1. In the "{% data variables.product.prodname_GH_advanced_security %} policies" section, under "Enable or disable {% data variables.product.prodname_secret_scanning %} by repository admins", select the dropdown menu and click a policy.
112
+
1. In the "Policies" section, under "Enable or disable {% data variables.product.prodname_secret_scanning %} by repository admins", select the dropdown menu and click a policy.
## Enforcing a policy to manage the use of {% data variables.secret-scanning.generic-secret-detection %} for {% data variables.product.prodname_secret_scanning %} in your enterprise's repositories
118
+
## Enforcing a policy to manage the use of AI detection for {% data variables.product.prodname_secret_scanning %} in your enterprise's repositories
107
119
108
-
Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage and configure AI detection in {% data variables.product.prodname_secret_scanning %} for the repositories. {% data reusables.advanced-security.ghas-must-be-enabled %}
120
+
Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage and configure AI detection in {% data variables.product.prodname_secret_scanning %} for the repositories. This policy only takes effect if repository administrators are also allowed to change enablement of {% data variables.product.prodname_secret_protection %} (controlled by the "Repository administrators can enable or disable Secret Protection" policy).
109
121
110
122
{% data reusables.enterprise-accounts.access-enterprise %}
111
123
{% data reusables.enterprise-accounts.policies-tab %}
112
124
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
113
-
1. In the "{% data variables.product.prodname_GH_advanced_security %} policies" section, under "AI detection in {% data variables.product.prodname_secret_scanning %}", select the dropdown menu and click a policy.
125
+
1. In the "Policies" section, under "AI detection in {% data variables.product.prodname_secret_scanning %}", select the dropdown menu and click a policy.
114
126
115
127
{% endif %}
116
128
@@ -123,6 +135,6 @@ Across all of your enterprise's organizations, you can allow or disallow people
123
135
{% data reusables.enterprise-accounts.access-enterprise %}
124
136
{% data reusables.enterprise-accounts.policies-tab %}
125
137
{% data reusables.enterprise-accounts.code-security-and-analysis-policies %}
126
-
1. In the "{% data variables.product.prodname_GH_advanced_security %} policies" section, under "{% data variables.product.prodname_copilot_autofix_short %}", select the dropdown menu and click a policy.
138
+
1. In the "Policies" section, under "{% data variables.product.prodname_copilot_autofix_short %}", select the dropdown menu and click a policy.
{% data variables.product.company_short %} bills for {% data variables.product.prodname_advanced_security %} on a per-committer basis. See [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security).
1
+
{% data variables.product.github %} bills for {% data variables.product.prodname_AS %} products on a per-committer basis. See [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security#managing-committers-and-costs).
2
2
3
3
You can enforce a policy that controls whether repository administrators are allowed to enable features for {% data variables.product.prodname_advanced_security %} in an organization's repositories. You can configure a policy for all organizations owned by your enterprise account, or for individual organizations that you choose.
4
4
5
-
Disallowing {% data variables.product.prodname_advanced_security %} for an organization prevents repository administrators from enabling {% data variables.product.prodname_advanced_security %} features for additional repositories, but does not disable the features for repositories where the features are already enabled. For more information about configuration of {% data variables.product.prodname_advanced_security %} features, see [AUTOTITLE](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization) or [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository).
5
+
Disallowing {% data variables.product.prodname_GH_cs_or_sp %} for an organization prevents repository administrators from enabling {% data variables.product.prodname_GH_cs_or_sp %} features for additional repositories, but does not disable the features for repositories where the features are already enabled.
1. Optionally, if you chose **Allow for selected organizations**, to the right of an organization, select the dropdown menu to enable {% data variables.product.prodname_advanced_security %} for the organization.
1
+
1. Optionally, if you chose **Allow for selected organizations**, to the right of an organization, select the dropdown menu to define which {% data variables.product.prodname_AS %} products are available to the organization.
2
2
3
-

3
+
{% ifversion ghas-products %}
4
+
5
+

6
+
7
+
{% else %}
8
+
9
+

1. Under "{% data variables.product.prodname_GH_advanced_security %} availability", select the dropdown menu, then click a policy for the organizations owned by your enterprise.
1
+
1. Under "{% data variables.product.prodname_AS %} availability", select the dropdown menu, then click a policy for the organizations owned by your enterprise.
0 commit comments