1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Merge pull request #41888 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2025-12-16 04:38:57 -08:00
committed by GitHub
4 changed files with 23 additions and 2 deletions

View File

@@ -70,13 +70,28 @@ 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).

View File

@@ -0,0 +1,6 @@
# Reference: #20436
# Assignees for code scanning and secret scanning alerts [GA]
versions:
fpt: '*'
ghec: '*'
ghes: '> 3.20'

View File

@@ -1,5 +1,5 @@
# Reference: #18652 and #17468
# Assignees for code scanning and secret scanning alerts
# Assignees for code scanning and secret scanning alerts (public preview)
versions:
fpt: '*'
ghec: '*'

View File

@@ -1,5 +1,5 @@
{% ifversion code-secret-alert-assignees %}
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).
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).
{% endif %}