Skip to content

Commit 94dda98

Browse files
authored
Merge pull request #41888 from github/repo-sync
Repo sync
2 parents 17d6d08 + ac5e8a8 commit 94dda98

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

content/code-security/securing-your-organization/fixing-security-alerts-at-scale/about-security-campaigns.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,28 @@ The creation workflow is the same for all campaigns, but you will notice a few d
7070

7171
## Assigning alerts{% ifversion security-campaigns-assign-to-cca %} to users and {% data variables.copilot.copilot_coding_agent %}{% endif %}
7272

73+
{% ifversion code-secret-alert-assignees-ga %}{% elsif ghes = 3.20 %}
74+
7375
>[!NOTE]
7476
> 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.
7577
78+
{% endif %}
79+
7680
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.
7781

7882
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.
7983

84+
{% ifversion code-secret-alert-assignees-ga %}
85+
86+
{% data variables.product.github %} notifies users:
87+
88+
* When they are assigned to an alert
89+
* When that alert is dismissed
90+
91+
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.
92+
93+
{% endif %}
94+
8095
{% ifversion security-campaigns-assign-to-cca %}
8196

8297
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).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reference: #20436
2+
# Assignees for code scanning and secret scanning alerts [GA]
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '> 3.20'

data/features/code-secret-alert-assignees.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Reference: #18652 and #17468
2-
# Assignees for code scanning and secret scanning alerts
2+
# Assignees for code scanning and secret scanning alerts (public preview)
33
versions:
44
fpt: '*'
55
ghec: '*'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% ifversion code-secret-alert-assignees %}
22

3-
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).
3+
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).
44

55
{% endif %}

0 commit comments

Comments
 (0)