Skip to content

Commit 927e2f8

Browse files
authored
Tidy up versioning, post GHAS unbundle work (#55125)
1 parent d85ad6c commit 927e2f8

File tree

7 files changed

+15
-52
lines changed

7 files changed

+15
-52
lines changed

content/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts.md

+11-23
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ By default, we notify people with write, maintain, or admin permissions in the a
6868

6969
{% data reusables.security.security-and-analysis-features-enable-read-only %}
7070

71-
{% ifversion dependabot-alerts-ghes-enablement %}
71+
{% ifversion ghes %}
7272
An enterprise owner must first set up {% data variables.product.prodname_dependabot %} for your enterprise before you can manage {% data variables.product.prodname_dependabot_alerts %} for your repository. For more information, see [AUTOTITLE](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise).{% endif %}
7373

7474
### Enabling or disabling {% data variables.product.prodname_dependabot_alerts %} for a repository
@@ -86,18 +86,14 @@ An enterprise owner must first set up {% data variables.product.prodname_dependa
8686

8787
You can enable or disable {% data variables.product.prodname_dependabot_alerts %} for some or all repositories owned by your organization. {% data reusables.security.note-securing-your-org %}
8888

89-
{% ifversion dependabot-alerts-ghes-enablement %}
89+
{% ifversion ghes %}
9090
An enterprise owner must first set up {% data variables.product.prodname_dependabot %} for your enterprise before you can manage {% data variables.product.prodname_dependabot_alerts %} for your repository. For more information, see [AUTOTITLE](/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise).{% endif %}
9191

9292
### Enabling or disabling {% data variables.product.prodname_dependabot_alerts %} for all existing repositories
9393

94-
{% ifversion code-security-multi-repo-enablement %}
9594
You can use security overview to find a set of repositories and enable or disable {% data variables.product.prodname_dependabot_alerts %} for them all at the same time. For more information, see [AUTOTITLE](/code-security/security-overview/enabling-security-features-for-multiple-repositories).
9695

9796
You can also use the organization settings page for "{% data variables.product.UI_advanced_security %}" to enable or disable {% data variables.product.prodname_dependabot_alerts %} for all existing repositories in an organization.
98-
{% else %}
99-
You can use the organization settings page for "{% data variables.product.UI_advanced_security %}" to enable {% data variables.product.prodname_dependabot_alerts %} for all existing repositories in an organization.
100-
{% endif %}
10197

10298
{% data reusables.profile.access_org %}
10399
{% data reusables.profile.org_settings %}
@@ -108,34 +104,26 @@ You can use the organization settings page for "{% data variables.product.UI_adv
108104

109105
{% endif %}
110106

111-
{% ifversion dependabot-alerts-enterprise-enablement or ghes %}
107+
{% ifversion ghec or ghes %}
112108

113109
## Managing {% data variables.product.prodname_dependabot_alerts %} for your enterprise
114110

115-
You can enable or disable {% data variables.product.prodname_dependabot_alerts %} for all current and future repositories owned by organizations in your enterprise. Your changes affect all repositories.
111+
{% ifversion security-configuration-enterprise-level %}
116112

117-
{% endif %}
113+
{% data variables.product.prodname_security_configurations_caps %}, which are collections of security settings, allow you to manage {% data variables.product.prodname_dependabot_alerts %} for your enterprise. {% ifversion ghec %}You can:
114+
115+
* Use the {% data variables.product.prodname_github_security_configuration %}. This configuration is maintained by {% data variables.product.github %} and is a set of industry best practices and features that provide a robust, baseline security posture for enterprises. See [AUTOTITLE](/admin/managing-code-security/securing-your-enterprise/applying-the-github-recommended-security-configuration-to-your-enterprise).
116+
* Configure your own {% data variables.product.prodname_custom_security_configuration %} if you prefer the enablement settings to meet the specific security needs of your enterprise. {% endif %}See [AUTOTITLE](/admin/managing-code-security/securing-your-enterprise/creating-a-custom-security-configuration-for-your-enterprise).
117+
118+
{% else %}
118119

119-
{% ifversion ghes < 3.16 %}
120+
You can enable or disable {% data variables.product.prodname_dependabot_alerts %} for all current and future repositories owned by organizations in your enterprise. Your changes affect all repositories.
120121

121-
{% ifversion dependabot-alerts-enterprise-enablement or ghes %}
122122
{% data reusables.enterprise-accounts.access-enterprise %}
123123
{% data reusables.enterprise-accounts.settings-tab %}
124124
{% data reusables.enterprise-accounts.advanced-security-tab %}
125125
1. In the "{% data variables.product.prodname_dependabot %}" section, to the right of {% data variables.product.prodname_dependabot_alerts %}, click **Disable all** or **Enable all**.
126126
1. Optionally, select **Automatically enable for new repositories** to enable {% data variables.product.prodname_dependabot_alerts %} by default for your organizations' new repositories.
127127
{% endif %}
128128

129-
{% ifversion dependabot-alerts-enterprise-enablement or security-configuration-enterprise-level %}
130-
131-
> [!NOTE]
132-
> When {% data variables.product.prodname_dependabot_alerts %} are enabled or disabled at the enterprise level, it overrides the organization and repository level settings for {% data variables.product.prodname_dependabot_alerts %}.
133-
134-
{% data variables.product.prodname_security_configurations_caps %}, which are collections of security settings, allow you to manage {% data variables.product.prodname_dependabot_alerts %} for your enterprise. You can:
135-
136-
* Use the {% data variables.product.prodname_github_security_configuration %}. This configuration is maintained by {% data variables.product.github %} and is a set of industry best practices and features that provide a robust, baseline security posture for enterprises. See [AUTOTITLE](/admin/managing-code-security/securing-your-enterprise/applying-the-github-recommended-security-configuration-to-your-enterprise).
137-
* Configure your own {% data variables.product.prodname_custom_security_configuration %} if you prefer the enablement settings to meet the specific security needs of your enterprise. See [AUTOTITLE](/admin/managing-code-security/securing-your-enterprise/creating-a-custom-security-configuration-for-your-enterprise).
138-
139-
{% endif %}
140-
141129
{% endif %}

content/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ topics:
3232

3333
You can enable {% data variables.product.prodname_dependabot_security_updates %} for any repository that uses {% data variables.product.prodname_dependabot_alerts %} and the dependency graph. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates).
3434

35-
You can enable or disable {% data variables.product.prodname_dependabot_security_updates %} for an individual repository{% ifversion code-security-multi-repo-enablement %}, for a selection of repositories in an organization,{% endif %} or for all repositories owned by your personal account or organization. For more information about enabling security features in an organization, see {% ifversion security-configurations %}[AUTOTITLE](/code-security/securing-your-organization/enabling-security-features-in-your-organization).{% else %}[AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
35+
You can enable or disable {% data variables.product.prodname_dependabot_security_updates %} for an individual repository, for a selection of repositories in an organization, or for all repositories owned by your personal account or organization. For more information about enabling security features in an organization, see {% ifversion security-configurations %}[AUTOTITLE](/code-security/securing-your-organization/enabling-security-features-in-your-organization).{% else %}[AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-organization).{% endif %}
3636

3737
{% data reusables.dependabot.dependabot-security-updates-disable-for-alert-rules %}
3838

content/code-security/getting-started/quickstart-for-securing-your-organization.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ topics:
1515
- Secret Protection
1616
shortTitle: Secure organization quickstart
1717
---
18+
<!--Reminder that this article describes the process for older versions of GHES. GHES 3.12 - 3.14 only. All other versions see "Securing your organization" instead.-->
1819

1920
## Introduction
2021

@@ -78,7 +79,7 @@ In some cases, it is better to identify a selection of repositories that require
7879

7980
If you're not sure about the impact a feature will have, you may want to test the feature on a limited selection of repositories before you commit to enabling the feature for all repositories, or you may want to roll out the feature gradually over several phases. You may also be aware that some repositories in your organization require a different set of features than others.
8081

81-
{% ifversion code-security-multi-repo-enablement %}You can use the "Security coverage" view to identify repositories that require a certain feature, then enable the feature for those repositories. The following steps describe how to find the "Security coverage" view.
82+
You can use the "Security coverage" view to identify repositories that require a certain feature, then enable the feature for those repositories. The following steps describe how to find the "Security coverage" view.
8283

8384
{% data reusables.organizations.navigate-to-org %}
8485
{% data reusables.organizations.security-overview %}
@@ -87,10 +88,6 @@ If you're not sure about the impact a feature will have, you may want to test th
8788

8889
On this view, you can use checkboxes to select specific repositories, or you can use the search bar to find the repositories where you want to enable a feature. For example, you can use filters to identify repositories where a certain team has write or admin access, or exclude repositories that don't require the same level of protection, such as test repositories or repositories for internal documentation. Then you can enable features for all selected repositories at once. For more information, see [AUTOTITLE](/code-security/security-overview/enabling-security-features-for-multiple-repositories).
8990

90-
{% else %}When you have identified the repositories that require a feature, you can enable the feature for each repository individually. As an organization owner or security manager, you can configure the security settings for each repository in your organization. For more information, see [AUTOTITLE](/code-security/getting-started/quickstart-for-securing-your-repository).
91-
92-
{% endif %}
93-
9491
If you have a limited number of licenses for {% data variables.product.prodname_GHAS %}, you may want to prioritize repositories that contain critical projects, or that have the highest commit frequencies. See [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security).
9592

9693
{% data reusables.security-overview.settings-limitations %}

content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ If you have a license for {% data variables.product.prodname_GHAS %}, the page w
4343

4444
You can enable or disable features for all repositories.
4545

46-
{% ifversion code-security-multi-repo-enablement %}
4746
You can use security overview to find a set of repositories and enable or disable security features for them all at the same time. For more information, see [AUTOTITLE](/code-security/security-overview/enabling-security-features-for-multiple-repositories).
48-
{% endif %}
4947

5048
{% data reusables.advanced-security.note-org-enable-uses-seats %}
5149

@@ -73,7 +71,7 @@ You can use security overview to find a set of repositories and enable or disabl
7371

7472
> [!NOTE]
7573
> * {% data reusables.code-scanning.limitation-org-enable-all %}
76-
> * Enabling {% data variables.product.prodname_code_scanning %} for all eligible repositories in an organization will not override existing {% data variables.product.prodname_code_scanning %} configurations. For information on configuring default setup with different settings for specific repositories, see [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning){% ifversion code-security-multi-repo-enablement %} and [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale#configuring-default-setup-for-a-subset-of-repositories-in-an-organization){% endif %}.
74+
> * Enabling {% data variables.product.prodname_code_scanning %} for all eligible repositories in an organization will not override existing {% data variables.product.prodname_code_scanning %} configurations. For information on configuring default setup with different settings for specific repositories, see [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning) and [AUTOTITLE](/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning-at-scale#configuring-default-setup-for-a-subset-of-repositories-in-an-organization).
7775
7876
{% data reusables.security.displayed-information %}
7977

data/reusables/repositories/navigate-to-branches.md

-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
{% else %}
66
1. Above the list of files, click **{% octicon "git-branch" aria-hidden="true" %} Branches**.
77

8-
{% ifversion global-nav-update %}
9-
108
![Screenshot of the repository page. A link, labeled "55 branches", is highlighted with an orange outline.](/assets/images/help/branches/branches-overview-link-global-nav-update.png)
119

12-
{% else %}
13-
14-
![Screenshot of the repository page. A link, labeled "55 branches", is highlighted with an orange outline.](/assets/images/help/branches/branches-overview-link.png)
15-
16-
{% endif %}
1710
{% endif %}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
{% ifversion secret-scanning-non-provider-patterns %}
2-
31
>[!NOTE] The summary views ({% ifversion security-overview-dashboard %}"Overview", {% endif %}"Coverage" and "Risk") show data only for {% ifversion secret-scanning-alert-experimental-list %}default{% else %}high confidence{% endif %} alerts. {% ifversion security-overview-additional-tools %}{% data variables.product.prodname_secret_scanning_caps %} {% else %}{% data variables.product.prodname_code_scanning_caps %} alerts from third-party tools, and {% data variables.product.prodname_secret_scanning %}{% endif %} alerts for ignored directories and non-provider alerts are all omitted from these views. Consequently, the individual alert views may include a larger number of open and closed alerts.
4-
5-
{% endif %}
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
{% ifversion secret-scanning-non-provider-patterns %}
2-
31
> [!NOTE]
42
> * Enabling {% data variables.product.prodname_code_scanning %} default setup _will not_ override any existing configurations of advanced setup for the selected repositories, but it _will_ override any existing configurations of default setup.
53
> * Enabling "Alerts" for {% data variables.product.prodname_secret_scanning %} enables {% ifversion secret-scanning-alert-experimental-list %}default{% else %}high confidence{% endif %} alerts. If you want to enable non-provider alerts, you need to edit the repository, organization, or enterprise settings. For more information about alert types, see [Supported secrets](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).
6-
7-
{% elsif bulk-code-scanning-query-suite and not fpt %}
8-
9-
> [!NOTE]
10-
> For {% ifversion code-security-multi-repo-enablement %}both the single and multiple {% else %}the single {% endif %}repository enablement settings, enabling {% data variables.product.prodname_code_scanning %} will override any existing {% data variables.product.prodname_code_scanning %} configurations for the selected repositories, including any previous query suite selections and workflows for advanced setups.
11-
12-
{% endif %}

0 commit comments

Comments
 (0)