From d95458ac426ab8d6e45c2536d5a96dbacf23a619 Mon Sep 17 00:00:00 2001 From: Granja30-RGB <249641204+granjacours30-rgb@users.noreply.github.com> Date: Tue, 16 Dec 2025 17:39:41 +0100 Subject: [PATCH] Revert "Repo sync" --- .../about-security-campaigns.md | 15 --------------- data/features/code-secret-alert-assignees-ga.yml | 6 ------ data/features/code-secret-alert-assignees.yml | 2 +- data/reusables/security/alert-assignee-mention.md | 2 +- 4 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 data/features/code-secret-alert-assignees-ga.yml diff --git a/content/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns.md b/content/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns.md index b2eb14d899b3..41bbbff92289 100644 --- a/content/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns.md +++ b/content/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns.md @@ -70,28 +70,13 @@ The creation workflow is the same for all campaigns, but you will notice a few d ## Assigning alerts{% ifversion security-campaigns-assign-to-cca %} to users and {% data variables.copilot.copilot_coding_agent %}{% endif %} -{% ifversion code-secret-alert-assignees-ga %}{% elsif ghes = 3.20 %} - >[!NOTE] > The option to assign {% data variables.product.prodname_code_scanning %} and {% data variables.product.prodname_secret_scanning %} alerts is currently in public preview and is subject to change. -{% endif %} - You can assign a {% data variables.product.prodname_code_scanning %} or {% data variables.product.prodname_secret_scanning %} alert to any user who has **write** access for the repository. If the assignee for a {% data variables.product.prodname_secret_scanning %} alert **cannot view the alert list**, their permissions are temporarily raised for that alert. Any additional permissions are revoked when they are unassigned from the alert. -{% ifversion code-secret-alert-assignees-ga %} - -{% data variables.product.github %} notifies users: - -* When they are assigned to an alert -* When that alert is dismissed - -For {% data variables.product.prodname_code_scanning %}, you can also perform some of these operations programmatically using the REST API, such as assigning or unassigning users to alerts, and filtering alerts by assignee. For more information, see [AUTOTITLE](/rest/reference/code-scanning) in the REST API documentation. Additionally, webhooks are available to notify you when an alert is assigned or an assignment is removed. - -{% endif %} - {% ifversion security-campaigns-assign-to-cca %} If an autofix has been generated for alerts in a security campaign, you can select those alerts and assign them to {% data variables.copilot.copilot_coding_agent %}. {% data variables.product.prodname_copilot_short %} will create a pull request and add you as a requested reviewer. See [AUTOTITLE](/code-security/code-scanning/managing-code-scanning-alerts/fixing-alerts-in-security-campaign#assigning-alerts-to-copilot-coding-agent). diff --git a/data/features/code-secret-alert-assignees-ga.yml b/data/features/code-secret-alert-assignees-ga.yml deleted file mode 100644 index 8626521874c9..000000000000 --- a/data/features/code-secret-alert-assignees-ga.yml +++ /dev/null @@ -1,6 +0,0 @@ -# Reference: #20436 -# Assignees for code scanning and secret scanning alerts [GA] -versions: - fpt: '*' - ghec: '*' - ghes: '> 3.20' diff --git a/data/features/code-secret-alert-assignees.yml b/data/features/code-secret-alert-assignees.yml index c30cf7646d7b..dfdb09c57dcb 100644 --- a/data/features/code-secret-alert-assignees.yml +++ b/data/features/code-secret-alert-assignees.yml @@ -1,5 +1,5 @@ # Reference: #18652 and #17468 -# Assignees for code scanning and secret scanning alerts (public preview) +# Assignees for code scanning and secret scanning alerts versions: fpt: '*' ghec: '*' diff --git a/data/reusables/security/alert-assignee-mention.md b/data/reusables/security/alert-assignee-mention.md index 487d7690b16d..484ed7c454d2 100644 --- a/data/reusables/security/alert-assignee-mention.md +++ b/data/reusables/security/alert-assignee-mention.md @@ -1,5 +1,5 @@ {% ifversion code-secret-alert-assignees %} -In addition, you will receive a notification if someone assigns a {% data variables.product.prodname_code_scanning %} or a {% data variables.product.prodname_secret_scanning %} alert to you, see [Assigning alerts](/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns#assigning-alerts). +In addition, you will receive a notification if someone assigns a {% data variables.product.prodname_secret_scanning %} alert to you, see [Assigning alerts](/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns#assigning-alerts). {% endif %}