From b4542c6f3bb914c38b318e04065926d5f7654542 Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Wed, 16 Apr 2025 10:37:22 +0100 Subject: [PATCH] GHAS: replace the remainder of the uses of deprecated variables (#55260) --- ...r-code-security-and-analysis-for-your-enterprise.md | 4 ++-- ...b-advanced-security-features-for-your-enterprise.md | 10 +++++----- .../about-billing-for-github-advanced-security.md | 2 +- ...mmitter-information-for-github-advanced-security.md | 2 +- .../uploading-a-sarif-file-to-github.md | 2 +- .../responsible-use-autofix-code-scanning.md | 2 +- .../advanced-security-must-be-enabled.md | 8 ++++---- .../advanced-security/ghas-must-be-enabled.md | 2 +- .../advanced-security/starter-workflows-beta.md | 2 +- .../code-scanning/enterprise-enable-code-scanning.md | 2 +- .../getting-started/enterprise-advanced-security.md | 2 +- .../repositories/navigate-to-ghas-settings.md | 3 ++- .../secret-scanning-enterprise-level-api.md | 2 +- 13 files changed, 22 insertions(+), 21 deletions(-) diff --git a/content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise.md b/content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise.md index cd4153a0d2b5..bed55c63f3c4 100644 --- a/content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise.md +++ b/content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise.md @@ -102,7 +102,7 @@ Across all of your enterprise's organizations, you can allow or disallow people ## Enforcing a policy to manage the use of {% data variables.product.prodname_secret_scanning %} in your enterprise's repositories -Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage and configure {% data variables.product.prodname_secret_scanning %} for the repositories. {% data reusables.advanced-security.ghas-must-be-enabled %} +Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage and configure {% data variables.product.prodname_secret_scanning %} for the repositories. {% data variables.product.prodname_GHAS %} must be enabled for the organization for this policy to take effect. {% data reusables.enterprise.role-permission-hierarchy %} @@ -130,7 +130,7 @@ Across all of your enterprise's organizations, you can allow or disallow people ## Enforcing a policy to manage the use of {% data variables.product.prodname_copilot_autofix_short %} in your enterprise's repositories -Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage where {% data variables.product.prodname_copilot_autofix_short %} is enabled. {% data reusables.advanced-security.ghas-must-be-enabled %} +Across all of your enterprise's organizations, you can allow or disallow people with admin access to repositories to manage where {% data variables.product.prodname_copilot_autofix_short %} is enabled. {% data variables.product.prodname_GH_code_security %} must be enabled for the organization for this policy to take effect. {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} diff --git a/content/admin/managing-code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise.md b/content/admin/managing-code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise.md index 4e48de773350..003bcf259774 100644 --- a/content/admin/managing-code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise.md +++ b/content/admin/managing-code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise.md @@ -1,7 +1,7 @@ --- title: Managing {% data variables.product.prodname_GHAS %} features for your enterprise intro: 'You can control {% data variables.product.prodname_GHAS %} features that secure and analyze code across all organizations owned by your enterprise.' -permissions: 'Enterprise owners can manage {% data variables.product.prodname_advanced_security %} features for organizations in an enterprise.' +permissions: 'Enterprise owners can manage {% data variables.product.prodname_AS %} features for organizations in an enterprise.' allowTitleToDifferFromFilename: true versions: ghes: '<= 3.15' @@ -17,13 +17,13 @@ redirect_from: - /admin/code-security/managing-github-advanced-security-for-your-enterprise/managing-github-advanced-security-features-for-your-enterprise --- -## About management of {% data variables.product.prodname_advanced_security %} features +## About management of {% data variables.product.prodname_AS %} features -You can use {% data variables.product.prodname_advanced_security %} features to harden security for the organizations in your enterprise. +You can use {% data variables.product.prodname_AS %} features to harden security for the organizations in your enterprise. {% ifversion security-configurations %}{% data reusables.security-configurations.enable-security-features-with-gh-config %} -To manage individual {% data variables.product.prodname_GHAS %} features, {% else %}To streamline management of {% data variables.product.prodname_advanced_security %}, {% endif %}you can enable or disable each feature for all existing and/or new repositories within the organizations owned by your enterprise. +To manage individual {% data variables.product.prodname_GHAS %} features, {% else %}To streamline management of {% data variables.product.prodname_AS %}, {% endif %}you can enable or disable each feature for all existing and/or new repositories within the organizations owned by your enterprise. {% ifversion security-configurations-ghes-only %} @@ -42,7 +42,7 @@ When you enable one or more security and analysis features for existing reposito {% data reusables.security.security-and-analysis-features-enable-read-only %} -## Managing {% data variables.product.prodname_advanced_security %} features +## Managing {% data variables.product.prodname_AS %} features {% data reusables.advanced-security.note-org-enable-uses-seats %} diff --git a/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md b/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md index d92051eb4c84..98c234c3b33c 100644 --- a/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md +++ b/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md @@ -115,7 +115,7 @@ If you exceed your license limit, features controlled by {% data variables.produ As soon as you make licenses available, by disabling {% data variables.product.prodname_GH_cs_or_sp %} in some repositories, or by increasing your license size, the options for enabling {% data variables.product.prodname_GH_cs_and_sp %} will work again as normal. {% ifversion ghes %}All standalone instances of {% data variables.product.prodname_ghe_server %} use volume/subscription licenses. Contact [{% data variables.product.github %}'s Sales team](https://enterprise.github.com/contact) if you want to make changes to your license.{% endif %} -You can enforce policies to allow or disallow the use of {% data variables.product.prodname_advanced_security %} by organizations owned by your enterprise account. See [AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise). +You can enforce policies to allow or disallow the use of {% data variables.product.prodname_AS %} by organizations owned by your enterprise account. See [AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-advanced-security-in-your-enterprise). ## Active and unique committers diff --git a/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/viewing-committer-information-for-github-advanced-security.md b/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/viewing-committer-information-for-github-advanced-security.md index d9d791c1ce12..79e8b861c694 100644 --- a/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/viewing-committer-information-for-github-advanced-security.md +++ b/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/viewing-committer-information-for-github-advanced-security.md @@ -23,7 +23,7 @@ If you currently use {% data variables.product.prodname_cs_or_sp %}, this tool h If you're considering using {% data variables.product.prodname_cs_or_sp %}, you can use this tool to estimate potential costs to enable {% data variables.product.prodname_cs_or_sp %}. -For more information about billing for {% data variables.product.prodname_advanced_security %}, see [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security). +For more information about billing for {% data variables.product.prodname_AS %}, see [AUTOTITLE](/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security). ## Viewing committer information diff --git a/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md b/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md index 711da1c5cb06..34ecc58348c4 100644 --- a/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md +++ b/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md @@ -43,7 +43,7 @@ You can upload the results using {% data variables.product.prodname_actions %}, {% ifversion fpt or ghec %} > [!NOTE] -> For private and internal repositories, {% data variables.product.prodname_code_scanning %} is available when {% data variables.product.prodname_GH_code_security %} features are enabled for the repository. If you see the error `{% data variables.product.prodname_advanced_security %} must be enabled for this repository to use code scanning`, check that {% data variables.product.prodname_GH_code_security %} is enabled. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository). +> For private and internal repositories, {% data variables.product.prodname_code_scanning %} is available when {% data variables.product.prodname_GH_code_security %} features are enabled for the repository. If you see the error `{% data variables.product.prodname_GHAS_or_code_security %} must be enabled for this repository to use code scanning`, check that {% data variables.product.prodname_GH_code_security %} is enabled. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository). {% endif %} diff --git a/content/code-security/code-scanning/managing-code-scanning-alerts/responsible-use-autofix-code-scanning.md b/content/code-security/code-scanning/managing-code-scanning-alerts/responsible-use-autofix-code-scanning.md index 85b9e535e465..0ba34306baad 100644 --- a/content/code-security/code-scanning/managing-code-scanning-alerts/responsible-use-autofix-code-scanning.md +++ b/content/code-security/code-scanning/managing-code-scanning-alerts/responsible-use-autofix-code-scanning.md @@ -54,7 +54,7 @@ When {% data variables.product.prodname_copilot_autofix_short %} is enabled for Any {% data variables.product.prodname_copilot_autofix_short %} suggestions are generated and stored within the {% data variables.product.prodname_code_scanning %} backend. They are displayed as suggestions. No user interaction is needed beyond enabling {% data variables.product.prodname_code_scanning %} on the codebase and creating a pull request. -The process of generating fixes does not gather or utilize any customer data beyond the scope outlined above. Therefore, the use of this feature is governed by the existing terms and conditions associated with {% data variables.product.prodname_GH_advanced_security %}. Moreover, data handled by {% data variables.product.prodname_copilot_autofix_short %} is strictly not employed for LLM training purposes. For more information on {% data variables.product.prodname_GH_advanced_security %} terms and conditions, see [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#advanced-security){% ifversion fpt %}.{% else %} in the Free, Pro, & Team documentation.{% endif %} +The process of generating fixes does not gather or utilize any customer data beyond the scope outlined above. Therefore, the use of this feature is governed by the existing terms and conditions associated with {% data variables.product.prodname_AS %}. Moreover, data handled by {% data variables.product.prodname_copilot_autofix_short %} is strictly not employed for LLM training purposes. For more information on {% data variables.product.prodname_AS %} terms and conditions, see [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#advanced-security){% ifversion fpt %}.{% else %} in the Free, Pro, & Team documentation.{% endif %} ## Quality of suggestions diff --git a/content/code-security/code-scanning/troubleshooting-code-scanning/advanced-security-must-be-enabled.md b/content/code-security/code-scanning/troubleshooting-code-scanning/advanced-security-must-be-enabled.md index a53a67447f5e..44b2c5250d52 100644 --- a/content/code-security/code-scanning/troubleshooting-code-scanning/advanced-security-must-be-enabled.md +++ b/content/code-security/code-scanning/troubleshooting-code-scanning/advanced-security-must-be-enabled.md @@ -1,6 +1,6 @@ --- -title: 'Error: "{% data variables.product.prodname_advanced_security %} must be enabled for this repository to use code scanning"' -shortTitle: '{% data variables.product.prodname_advanced_security %} must be enabled' +title: 'Error: "{% data variables.product.prodname_GHAS_or_code_security %} must be enabled for this repository to use code scanning"' +shortTitle: '{% data variables.product.prodname_code_security %} must be enabled' intro: 'If you see this error, make sure that {% data variables.product.prodname_GH_code_security %} is enabled.' allowTitleToDifferFromFilename: true type: reference @@ -17,7 +17,7 @@ versions: ## About this error ```text -{% data variables.product.prodname_advanced_security %} must be enabled for this repository to use code scanning +{% data variables.product.prodname_GHAS_or_code_security %} must be enabled for this repository to use code scanning 403: {% data variables.product.prodname_GHAS_or_code_security %} is not enabled ``` @@ -54,7 +54,7 @@ If {% data variables.product.prodname_GH_code_security %} is blocked by a policy ### Requesting access to {% data variables.product.prodname_GH_code_security %} -1. In the "{% data variables.product.prodname_code_security %}" settings, click the enterprise name to display a list of users with access to edit the policy that controls access to {% data variables.product.prodname_advanced_security %} products. For more information, see [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise#enforcing-a-policy-for-the-availability-of-advanced-security-in-your-enterprises-organizations). +1. In the "{% data variables.product.UI_advanced_security %}" settings, click the enterprise name to display a list of users with access to edit the policy that controls access to {% data variables.product.prodname_code_security %} products. For more information, see [AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise#enforcing-a-policy-for-the-use-of-github-advanced-security-in-your-enterprises-organizations). 1. Follow your company's policy for requesting access to additional features. ### Enabling {% data variables.product.prodname_GH_code_security %} diff --git a/data/reusables/advanced-security/ghas-must-be-enabled.md b/data/reusables/advanced-security/ghas-must-be-enabled.md index 00459d9d8328..0ffb246618c3 100644 --- a/data/reusables/advanced-security/ghas-must-be-enabled.md +++ b/data/reusables/advanced-security/ghas-must-be-enabled.md @@ -1 +1 @@ -{% data variables.product.prodname_GH_advanced_security %} features must be available to the organization for this policy to take effect. For more information, see [Enforcing a policy for the use of {% data variables.product.prodname_GH_advanced_security %} in your enterprise's organizations](#enforcing-a-policy-for-the-availability-of-advanced-security-in-your-enterprises-organizations). +{% data variables.product.prodname_GHAS %} features must be available to the organization for this policy to take effect. For more information, see [Enforcing a policy for the use of {% data variables.product.prodname_GHAS %} in your enterprise's organizations](#enforcing-a-policy-for-the-use-of-github-advanced-security-in-your-enterprises-organizations). diff --git a/data/reusables/advanced-security/starter-workflows-beta.md b/data/reusables/advanced-security/starter-workflows-beta.md index e61c99c9dfb1..9458e099454d 100644 --- a/data/reusables/advanced-security/starter-workflows-beta.md +++ b/data/reusables/advanced-security/starter-workflows-beta.md @@ -1,2 +1,2 @@ > [!NOTE] -> Workflow templates for {% data variables.product.prodname_advanced_security %} have been consolidated in a "Security" category in the **Actions** tab of a repository. +> Workflow templates for {% data variables.product.prodname_AS %} have been consolidated in a "Security" category in the **Actions** tab of a repository. diff --git a/data/reusables/code-scanning/enterprise-enable-code-scanning.md b/data/reusables/code-scanning/enterprise-enable-code-scanning.md index be50ad250f15..9fd69f367533 100644 --- a/data/reusables/code-scanning/enterprise-enable-code-scanning.md +++ b/data/reusables/code-scanning/enterprise-enable-code-scanning.md @@ -3,6 +3,6 @@ > [!NOTE] > Your site administrator must enable {% data variables.product.prodname_code_scanning %} before you can use this feature. For more information, see [AUTOTITLE](/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-code-scanning-for-your-appliance). > -> You may not be able to enable or disable {% data variables.product.prodname_code_scanning %} if an enterprise owner has set a {% data variables.product.prodname_GH_advanced_security %} (GHAS) policy at the enterprise level. For more information, see [AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise). +> You may not be able to enable or disable {% data variables.product.prodname_code_scanning %} if an enterprise owner has set a {% data variables.product.prodname_GH_code_security %} policy at the enterprise level. For more information, see [AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise). {% endif %} diff --git a/data/reusables/getting-started/enterprise-advanced-security.md b/data/reusables/getting-started/enterprise-advanced-security.md index 848bfc546d4c..7e45e9f5af19 100644 --- a/data/reusables/getting-started/enterprise-advanced-security.md +++ b/data/reusables/getting-started/enterprise-advanced-security.md @@ -1 +1 @@ -If you have a {% data variables.product.prodname_GH_advanced_security %} license for your enterprise account, you can enforce policies to manage {% data variables.product.prodname_GH_advanced_security %} features for organizations owned by an enterprise account. For more information, see [AUTOTITLE](/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise). +If you use {% data variables.product.prodname_GH_cs_or_sp %} for your enterprise, you can enforce policies to manage {% data variables.product.prodname_cs_and_sp %} features for organizations owned by an enterprise account. For more information, see [AUTOTITLE](/enterprise-cloud@latest/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise). diff --git a/data/reusables/repositories/navigate-to-ghas-settings.md b/data/reusables/repositories/navigate-to-ghas-settings.md index 87b0157828fa..270f22237e64 100644 --- a/data/reusables/repositories/navigate-to-ghas-settings.md +++ b/data/reusables/repositories/navigate-to-ghas-settings.md @@ -1 +1,2 @@ -1. Under "{% data variables.product.UI_advanced_security %}", find "{% data variables.product.prodname_GH_advanced_security %}." + +1. Under "{% data variables.product.UI_advanced_security %}", find "{% data variables.product.prodname_GHAS %}." diff --git a/data/reusables/secret-scanning/secret-scanning-enterprise-level-api.md b/data/reusables/secret-scanning/secret-scanning-enterprise-level-api.md index 03e4381e379f..43bb89cf253a 100644 --- a/data/reusables/secret-scanning/secret-scanning-enterprise-level-api.md +++ b/data/reusables/secret-scanning/secret-scanning-enterprise-level-api.md @@ -1 +1 @@ -You can also enable or disable {% data variables.product.prodname_advanced_security %} features via the API. For more information, see [AUTOTITLE](/rest/secret-scanning#enable-or-disable-security-features-for-an-enterprise) in the REST API documentation. +You can also enable or disable {% data variables.product.prodname_GH_cs_or_sp %} features via the API. For more information, see [AUTOTITLE](/rest/secret-scanning#enable-or-disable-security-features-for-an-enterprise) in the REST API documentation.