Skip to content

Commit 908c228

Browse files
GHAS unbundling changes to main part 1: Changes to RAI content requiring legal review (#54605)
Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com>
1 parent 8340f21 commit 908c228

13 files changed

Lines changed: 35 additions & 16 deletions

content/code-security/code-scanning/managing-code-scanning-alerts/responsible-use-autofix-code-scanning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ redirect_from:
2626

2727
{% data variables.product.prodname_copilot_autofix_short %} is allowed by default and enabled for every repository using {% data variables.product.prodname_codeql %}, but you can choose to opt out and disable {% data variables.product.prodname_copilot_autofix_short %}. To learn how to disable {% data variables.product.prodname_copilot_autofix_short %} at the enterprise, organization and repository levels, see [AUTOTITLE](/code-security/code-scanning/managing-code-scanning-alerts/disabling-autofix-for-code-scanning).
2828

29-
In an organization's security overview dashboard, you can view the total number of code suggestions generated on open and closed pull requests in the organization for a given time period. For more information, see [AUTOTITLE](/enterprise-cloud@latest/code-security/security-overview/viewing-security-insights#autofix-suggestions) in the {% data variables.product.prodname_ghe_cloud %} documentation.
29+
In an organization's security overview dashboard, you can view the total number of code suggestions generated on open and closed pull requests in the organization for a given time period. For more information, see {% ifversion ghas-products-cloud %}[AUTOTITLE](/code-security/security-overview/viewing-security-insights#autofix-suggestions){% elsif fpt %}[AUTOTITLE](/enterprise-cloud@latest/code-security/security-overview/viewing-security-insights#autofix-suggestions) in the {% data variables.product.prodname_ghe_cloud %} documentation{% endif %}.
3030

3131
## Developer experience
3232

content/code-security/secret-scanning/copilot-secret-scanning/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enhance your secret detection capabilities with Copilot secret scanning
33
shortTitle: Copilot secret scanning
44
allowTitleToDifferFromFilename: true
55
intro: 'Learn how {% data variables.product.prodname_secret_scanning %} uses AI to detect generic secrets in your code, and generate regular expressions for your custom patterns.'
6-
product: '{% data reusables.gated-features.copilot-secret-scanning %}'
6+
product: '{% data reusables.rai.secret-scanning.copilot-secret-scanning-gated-feature %}'
77
versions:
88
ghec: '*'
99
topics:

content/code-security/secret-scanning/copilot-secret-scanning/responsible-ai-generic-secrets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Responsible detection of generic secrets with Copilot secret scanning
33
shortTitle: Generic secret detection
44
intro: 'Learn how {% data variables.secret-scanning.copilot-secret-scanning %} uses AI responsibly to scan and create alerts for unstructured secrets, such as passwords.'
55
allowTitleToDifferFromFilename: true
6-
product: '{% data reusables.gated-features.copilot-secret-scanning %}'
6+
product: '{% data reusables.rai.secret-scanning.copilot-secret-scanning-gated-feature %}'
77
versions:
88
feature: secret-scanning-ai-generic-secret-detection
99
fpt: '*'
@@ -27,7 +27,7 @@ redirect_from:
2727

2828
{% data reusables.rai.secret-scanning.copilot-secret-scanning-generic-secrets-subscription-note %}
2929

30-
{% data variables.product.prodname_GH_advanced_security %} users can already receive {% data variables.secret-scanning.alerts %} for partner or custom patterns found in their source code, but unstructured secrets are not easily discoverable. {% data variables.secret-scanning.copilot-secret-scanning %} uses large language models (LLMs) to identify this type of secret.
30+
{% data variables.product.prodname_GH_secret_protection %} users can already receive {% data variables.secret-scanning.alerts %} for partner or custom patterns found in their source code, but unstructured secrets are not easily discoverable. {% data variables.secret-scanning.copilot-secret-scanning %} uses large language models (LLMs) to identify this type of secret.
3131

3232
When a password is detected, an alert is displayed in the "Experimental" list of {% data variables.product.prodname_secret_scanning %} alerts (under the **Security** tab of the repository, organization, or enterprise), so that maintainers and security managers can review the alert and, where necessary, remove the credential or implement a fix.
3333

content/code-security/secret-scanning/copilot-secret-scanning/responsible-ai-regex-generator.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Responsible generation of regular expressions with Copilot secret scanning
33
shortTitle: Generate regular expressions with AI
44
intro: 'Learn about the capabilities and limitations of the {% data variables.secret-scanning.custom-pattern-regular-expression-generator %} in helping you to define custom patterns to extend the capabilities of {% data variables.product.prodname_secret_scanning %}.'
5-
product: '{% data reusables.gated-features.copilot-secret-scanning %}'
5+
product: '{% data reusables.rai.secret-scanning.copilot-secret-scanning-gated-feature %}'
66
allowTitleToDifferFromFilename: true
77
versions:
88
feature: secret-scanning-custom-pattern-ai-generated
@@ -71,7 +71,9 @@ Note that {% data variables.secret-scanning.copilot-secret-scanning %}'s {% data
7171

7272
## Further reading
7373

74-
{% ifversion fpt %}
74+
{% ifversion ghas-products-cloud %}
75+
<!-- Nothing to show because the bullets controlled by the feature version below will be visible to fpt -->
76+
{% elsif fpt %}
7577
* [AUTOTITLE](/code-security/secret-scanning/introduction/about-secret-scanning)
7678
* [AUTOTITLE](/code-security/secret-scanning/managing-alerts-from-secret-scanning)
7779
{% endif %}

data/reusables/gated-features/copilot-secret-scanning.md

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% ifversion code-scanning-autofix %}
22

33
> [!NOTE]
4-
> You do not need a subscription to {% data variables.product.prodname_copilot %} to use {% data variables.product.prodname_copilot_autofix %}. {% data variables.product.prodname_copilot_autofix_short %} is available to all public repositories on {% data variables.product.prodname_dotcom_the_website %}, as well as private repositories in {% data variables.product.prodname_ghe_cloud %} enterprises that have a license for {% data variables.product.prodname_GH_advanced_security %}.
4+
> You do not need a subscription to {% data variables.product.prodname_copilot %} to use {% data variables.product.prodname_copilot_autofix %}. {% data variables.product.prodname_copilot_autofix_short %} is available to all public repositories on {% data variables.product.prodname_dotcom_the_website %}, as well as internal or private repositories owned by organizations and enterprises that have a license for {% data variables.product.prodname_GH_code_security %}.
55
66
{% endif %}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{% data variables.product.prodname_copilot_autofix %} for {% data variables.product.prodname_code_scanning %} is available for the following repository types:
22

3+
{% ifversion fpt %}
4+
* Public repositories on {% data variables.product.prodname_dotcom_the_website %}{%- ifversion ghas-products-cloud %}
5+
* Organization-owned repositories on {% data variables.product.prodname_team %} with [{% data variables.product.prodname_GH_code_security %}](/get-started/learning-about-github/about-github-advanced-security) enabled{% endif %}{% endif %}
6+
7+
{% ifversion ghec %}
38
* Public repositories on {% data variables.product.prodname_dotcom_the_website %}
4-
* Organization-owned repositories on {% data variables.product.prodname_ghe_cloud %} with [{% data variables.product.prodname_GH_advanced_security %}](/get-started/learning-about-github/about-github-advanced-security) enabled
9+
* Organization-owned repositories on {% ifversion ghas-products-cloud %}{% data variables.product.prodname_team %} or {% endif %}{% data variables.product.prodname_ghe_cloud %} with [{% data variables.product.prodname_GH_code_security %}](/get-started/learning-about-github/about-github-advanced-security) enabled{% endif %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% ifversion secret-scanning-custom-pattern-ai-generated %}
22

33
> [!NOTE]
4-
> You do not need a subscription to {% data variables.product.prodname_copilot %} to use {% data variables.secret-scanning.copilot-secret-scanning %}'s {% data variables.secret-scanning.custom-pattern-regular-expression-generator %}. {% data variables.secret-scanning.copilot-secret-scanning %} features are available to private repositories in {% data variables.product.prodname_ghe_cloud %} enterprises that have a license for {% data variables.product.prodname_GH_advanced_security %}.
4+
> You do not need a subscription to {% data variables.product.prodname_copilot %} to use {% data variables.secret-scanning.copilot-secret-scanning %}'s {% data variables.secret-scanning.custom-pattern-regular-expression-generator %}. {% data variables.secret-scanning.copilot-secret-scanning %} features are available to repositories owned by organizations and enterprises that have a license for {% data variables.product.prodname_GH_secret_protection %}.
55
66
{% endif %}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% data variables.secret-scanning.copilot-secret-scanning %} is available for the following repository types:
2+
3+
{%- ifversion ghas-products-cloud %}
4+
5+
{% ifversion fpt %}
6+
* Organization-owned repositories on {% data variables.product.prodname_team %} with [{% data variables.product.prodname_GH_secret_protection %}](/get-started/learning-about-github/about-github-advanced-security) enabled{% endif %}
7+
8+
{% ifversion ghec %}
9+
* Organization-owned repositories on {% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %} with [{% data variables.product.prodname_GH_secret_protection %}](/get-started/learning-about-github/about-github-advanced-security) enabled{% endif %}
10+
11+
{% else %}
12+
13+
* Public, private, and internal repositories in organizations using {% data variables.product.prodname_ghe_cloud %} with [{% data variables.product.prodname_GHAS %}](/get-started/learning-about-github/about-github-advanced-security) enabled
14+
15+
{% endif %}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% ifversion secret-scanning-ai-generic-secret-detection %}
22

33
> [!NOTE]
4-
> You do not need a subscription to {% data variables.product.prodname_copilot %} to use {% data variables.secret-scanning.copilot-secret-scanning %}'s {% data variables.secret-scanning.generic-secret-detection %}. {% data variables.secret-scanning.copilot-secret-scanning %} features are available to private repositories in {% data variables.product.prodname_ghe_cloud %} enterprises that have a license for {% data variables.product.prodname_GH_advanced_security %}.
4+
> You do not need a subscription to {% data variables.product.prodname_copilot %} to use {% data variables.secret-scanning.copilot-secret-scanning %}'s {% data variables.secret-scanning.generic-secret-detection %}. {% data variables.secret-scanning.copilot-secret-scanning %} features are available to repositories owned by organizations and enterprises that have a license for {% data variables.product.prodname_GH_secret_protection %}.
55
66
{% endif %}

0 commit comments

Comments
 (0)