Skip to content

Commit 1dba805

Browse files
authored
Follow up work: Dependabot alert assignees (#60845)
1 parent 06b8907 commit 1dba805

2 files changed

Lines changed: 32 additions & 3 deletions

File tree

content/code-security/concepts/supply-chain-security/about-dependabot-alerts.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,25 @@ See [AUTOTITLE](/code-security/dependabot/dependabot-alerts/configuring-dependab
5454

5555
## Alert ownership and assignments
5656

57-
Users with write access or higher can assign {% data variables.product.prodname_dependabot_alerts %} to repository collaborators, teams, or {% data variables.product.prodname_copilot_short %} to establish clear ownership for vulnerability remediation. Assignments help track who's responsible for each alert and prevent vulnerabilities from being overlooked.
57+
Users with write access or higher can assign {% data variables.product.prodname_dependabot_alerts %} to repository collaborators, teams, or AI agents to establish clear ownership for vulnerability remediation. Assignments help track who's responsible for each alert and prevent vulnerabilities from being overlooked.
5858

59-
When an alert is assigned, the assignee receives a notification and the alert displays their name in the alert list. You can filter alerts by assignee to track progress. Assigning an alert to {% data variables.product.prodname_copilot_short %} automatically generates a fix and opens a draft pull request for review.
59+
You can assign alerts to the following types of agents:
60+
61+
* **{% data variables.product.prodname_copilot_short %}**, {% data variables.product.github %}'s built-in AI agent.
62+
* **Third-party agents**,such as Codex or Claude, when enabled in your repository settings.
63+
64+
When an alert is assigned to a person or team, the assignee receives a notification and the alert displays their name in the alert list. You can filter alerts by assignee to track progress.
65+
66+
When an alert is assigned to an agent, the agent automatically creates a session and opens a draft pull request with a proposed fix. If the agent can't generate a fix, it remains as an assignee, and you can click **View Session** on the alert timeline to review the agent's log.
67+
68+
> [!NOTE]
69+
> Assignment visibility is currently scoped to the repository-level alerts view. The organization-wide security overview does not display alert assignments.
70+
71+
When an alert's assignees change, {% data variables.product.github %} sends an `assignees_changed` webhook event. You can use this event to trigger workflows or sync assignment data with external systems. For more information, see [AUTOTITLE](/webhooks/webhook-events-and-payloads#dependabot_alert).
72+
73+
### Automation and integrations
74+
75+
You can manage alert assignments programmatically using the REST API. For more information, see [AUTOTITLE](/rest/dependabot/alerts).
6076

6177
For information about assigning alerts, see [AUTOTITLE](/code-security/how-tos/manage-security-alerts/manage-dependabot-alerts/viewing-and-updating-dependabot-alerts#viewing-and-prioritizing-dependabot-alerts).
6278

content/code-security/how-tos/manage-security-alerts/manage-dependabot-alerts/viewing-and-updating-dependabot-alerts.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ By default, alerts are sorted by **Most important**, which helps you prioritize
3838

3939
{% data reusables.dependabot.where-to-view-dependabot-alerts %}
4040

41+
{% ifversion dependabot-alerts-assignees %}
42+
43+
When you assign an alert to an AI agent, the agent automatically creates a session and opens a draft pull request with a proposed fix. If the agent can't generate a fix, it remains as an assignee of the alert. You can click **View Session** on the alert timeline to review the agent's log and understand why no pull request was created. Only a user can remove the agent as an assignee.
44+
45+
{% endif %}
46+
4147
{% data reusables.repositories.navigate-to-repo %}
4248
{% data reusables.repositories.sidebar-security %}
4349
{% data reusables.repositories.sidebar-dependabot-alerts %}
@@ -58,7 +64,14 @@ By default, alerts are sorted by **Most important**, which helps you prioritize
5864
![Screenshot showing the "Tags" section in the alert details page.](/assets/images/help/repository/dependabot-alerts-tags-section.png)
5965

6066
{% ifversion dependabot-alerts-assignees %}
61-
1. On the right panel, select an assignee by using the **Assignees** dropdown list. You can assign the alert to a user or team to establish clear ownership, or assign it to {% data variables.product.prodname_copilot_short %} to automatically generate a fix. This clearly communicates who is responsible for triaging the alert and helps you avoid repetitive analysis. It also ensures that alerts are not missed.
67+
1. On the right panel, assign ownership for the alert:
68+
* Click the {% octicon "gear" aria-label="Show options" %} dropdown menu next to "Assignees" to select a user, team, or AI agent from the list. You can also click **Assign to Agent** to assign directly to an agent.
69+
70+
When you assign an alert to an agent, a dialog appears where you can optionally:
71+
* Add a custom prompt with additional context about the fix.
72+
* Select a different repository.
73+
* Select the AI model to use.
74+
* Select a custom agent you have configured (recommended for specialized tasks).
6275
{% endif %}
6376

6477
1. Optionally, to suggest an improvement to the related security advisory, on the right-hand side of the alert details page, click **Suggest improvements for this advisory on the {% data variables.product.prodname_advisory_database %}**. See [AUTOTITLE](/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/editing-security-advisories-in-the-github-advisory-database).

0 commit comments

Comments
 (0)