From 414ed23ce90e7a1e2b556b29cfb4290660d12e55 Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Thu, 14 Dec 2023 13:26:11 -0800 Subject: [PATCH] rai content reorg ; --- ...n-of-generic-secrets-with-secret-scanning.md | 2 +- ...-expression-generator-for-custom-patterns.md | 2 +- .../about-github-copilot-chat.md | 2 +- .../about-github-copilot-chat.md | 2 +- .../rai/code-scanning/gated-feature-autofix.md | 2 +- .../{ => rai}/copilot/about-copilot-chat.md | 0 ...stom-pattern-regular-expression-generator.md | 17 +++++++++++++++++ .../generic-secret-detection-ai.md | 11 +++++++++++ 8 files changed, 33 insertions(+), 5 deletions(-) rename data/reusables/{ => rai}/copilot/about-copilot-chat.md (100%) create mode 100644 data/reusables/rai/secret-scanning/beta-custom-pattern-regular-expression-generator.md create mode 100644 data/reusables/rai/secret-scanning/generic-secret-detection-ai.md diff --git a/content/code-security/secret-scanning/about-the-detection-of-generic-secrets-with-secret-scanning.md b/content/code-security/secret-scanning/about-the-detection-of-generic-secrets-with-secret-scanning.md index 19e5f3fa87..a6be2a88de 100644 --- a/content/code-security/secret-scanning/about-the-detection-of-generic-secrets-with-secret-scanning.md +++ b/content/code-security/secret-scanning/about-the-detection-of-generic-secrets-with-secret-scanning.md @@ -14,7 +14,7 @@ topics: -{% data reusables.secret-scanning.generic-secret-detection-ai %} +{% data reusables.rai.secret-scanning.generic-secret-detection-ai %} ## About generic secret detection for {% data variables.product.prodname_secret_scanning %} diff --git a/content/code-security/secret-scanning/about-the-regular-expression-generator-for-custom-patterns.md b/content/code-security/secret-scanning/about-the-regular-expression-generator-for-custom-patterns.md index 79109422c9..5f4f6d691c 100644 --- a/content/code-security/secret-scanning/about-the-regular-expression-generator-for-custom-patterns.md +++ b/content/code-security/secret-scanning/about-the-regular-expression-generator-for-custom-patterns.md @@ -15,7 +15,7 @@ topics: -{% data reusables.secret-scanning.beta-custom-pattern-regular-expression-generator %} +{% data reusables.rai.secret-scanning.beta-custom-pattern-regular-expression-generator %} ## About the {% data variables.secret-scanning.custom-pattern-regular-expression-generator %} diff --git a/content/copilot/github-copilot-chat/about-github-copilot-chat.md b/content/copilot/github-copilot-chat/about-github-copilot-chat.md index cb6cbbe519..a67e996176 100644 --- a/content/copilot/github-copilot-chat/about-github-copilot-chat.md +++ b/content/copilot/github-copilot-chat/about-github-copilot-chat.md @@ -21,7 +21,7 @@ type: rai {% data variables.product.prodname_copilot_chat %} works by using a combination of natural language processing and machine learning to understand your question and provide you with an answer. This process can be broken down into a number of steps. -{% data reusables.copilot.about-copilot-chat %} +{% data reusables.rai.copilot.about-copilot-chat %} ## Next steps diff --git a/content/copilot/github-copilot-enterprise/copilot-chat-in-github/about-github-copilot-chat.md b/content/copilot/github-copilot-enterprise/copilot-chat-in-github/about-github-copilot-chat.md index ec0972dfcd..a822befb30 100644 --- a/content/copilot/github-copilot-enterprise/copilot-chat-in-github/about-github-copilot-chat.md +++ b/content/copilot/github-copilot-enterprise/copilot-chat-in-github/about-github-copilot-chat.md @@ -21,7 +21,7 @@ type: rai {% data variables.product.prodname_copilot_chat %} works by using a combination of natural language processing and machine learning to understand your question and provide you with an answer. This process can be broken down into a number of steps. -{% data reusables.copilot.about-copilot-chat %} +{% data reusables.rai.copilot.about-copilot-chat %} ## Next steps diff --git a/data/reusables/rai/code-scanning/gated-feature-autofix.md b/data/reusables/rai/code-scanning/gated-feature-autofix.md index 2d5b955e2a..6d7c696532 100644 --- a/data/reusables/rai/code-scanning/gated-feature-autofix.md +++ b/data/reusables/rai/code-scanning/gated-feature-autofix.md @@ -1 +1 @@ -Autofix for {% data variables.product.prodname_code_scanning %} is available only to {% data variables.product.prodname_ghe_cloud %} users who have {% data variables.product.prodname_GH_advanced_security %}. {% data reusables.advanced-security.more-info-ghas %} +Autofix for {% data variables.product.prodname_code_scanning %} is available only to {% data variables.product.prodname_ghe_cloud %} users who have {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[AUTOTITLE](/get-started/learning-about-github/about-github-advanced-security)." diff --git a/data/reusables/copilot/about-copilot-chat.md b/data/reusables/rai/copilot/about-copilot-chat.md similarity index 100% rename from data/reusables/copilot/about-copilot-chat.md rename to data/reusables/rai/copilot/about-copilot-chat.md diff --git a/data/reusables/rai/secret-scanning/beta-custom-pattern-regular-expression-generator.md b/data/reusables/rai/secret-scanning/beta-custom-pattern-regular-expression-generator.md new file mode 100644 index 0000000000..62ad9b5243 --- /dev/null +++ b/data/reusables/rai/secret-scanning/beta-custom-pattern-regular-expression-generator.md @@ -0,0 +1,17 @@ +{% ifversion secret-scanning-custom-pattern-ai-generated %} + +{% note %} + +**Note:** The {% data variables.secret-scanning.custom-pattern-regular-expression-generator %} is in beta. Functionality and documentation are subject to change. If you have an enterprise account and use {% data variables.product.prodname_GH_advanced_security %}, you can join the [waitlist for {% data variables.product.prodname_GH_advanced_security %} AI features](https://github.com/features/preview/security). + +{% endnote %} + +{% elsif fpt %} + +{% note %} + +**Note:** The {% data variables.secret-scanning.custom-pattern-regular-expression-generator %} is in beta. Functionality and documentation are subject to change. The feature is available for enterprise accounts that use {% data variables.product.prodname_GH_advanced_security %} on {% data variables.product.prodname_ghe_cloud %}. + +{% endnote %} + +{% endif %} diff --git a/data/reusables/rai/secret-scanning/generic-secret-detection-ai.md b/data/reusables/rai/secret-scanning/generic-secret-detection-ai.md new file mode 100644 index 0000000000..892331df19 --- /dev/null +++ b/data/reusables/rai/secret-scanning/generic-secret-detection-ai.md @@ -0,0 +1,11 @@ +{% note %} + +**Note:** {% ifversion secret-scanning-ai-generic-secret-detection %} +Generic secret detection for {% data variables.product.prodname_secret_scanning %} is in beta. Functionality and documentation are subject to change. If you have an enterprise account and use {% data variables.product.prodname_GH_advanced_security %}, you can join the [waitlist for {% data variables.product.prodname_GH_advanced_security %} AI features](https://github.com/features/preview/security). + +During this phase, generic secret detection is limited to looking for passwords in source code. +{% elsif fpt %} +Generic secret detection for {% data variables.product.prodname_secret_scanning %} is in beta. Functionality and documentation are subject to change. The feature is available for enterprise accounts that use {% data variables.product.prodname_GH_advanced_security %} on {% data variables.product.prodname_ghe_cloud %}. +{% endif %} + +{% endnote %}