Skip to content

Commit 439056e

Browse files
authored
Merge pull request #20046 from github/repo-sync
repo sync
2 parents 0500918 + ef28063 commit 439056e

File tree

16 files changed

+233
-213
lines changed

16 files changed

+233
-213
lines changed

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

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,40 @@ You can enable automatic security updates for any repository that uses {% data v
3737

3838
{% data variables.product.product_name %} generates {% data variables.product.prodname_dependabot_alerts %} when we detect that your codebase is using dependencies with known security risks. For repositories where {% data variables.product.prodname_dependabot_security_updates %} are enabled, when {% data variables.product.product_name %} detects a vulnerable dependency in the default branch, {% data variables.product.prodname_dependabot %} creates a pull request to fix it. The pull request will upgrade the dependency to the minimum possible secure version needed to avoid the vulnerability.
3939

40-
{% ifversion dependabot-most-important-sort-option %} By default, {% data variables.product.prodname_dependabot_alerts %} are displayed in the {% data variables.product.prodname_dependabot_alerts %} tab in order of importance, but you can sort alerts by other criteria. {% endif %}{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5638 %}You can sort and filter {% data variables.product.prodname_dependabot_alerts %} with the dropdown menus in the {% data variables.product.prodname_dependabot_alerts %} tab or by typing filters as `key:value` pairs into the search bar. The available filters are repository (for example, `repo:my-repository`), package (for example, `package:django`), ecosystem (for example, `ecosystem:npm`), manifest (for example, `manifest:webwolf/pom.xml`), state (for example, `is:open`), and whether an advisory has a patch (for example, `has: patch`).{% ifversion dependabot-alerts-development-label %} You can also filter alerts with dependency scope data using `scope`, for example: `scope:development` or `scope:runtime`. With `scope:development`, the list of alerts will only show dependencies used during development, not production.{% endif %}
41-
4240
Each {% data variables.product.prodname_dependabot %} alert has a unique numeric identifier and the {% data variables.product.prodname_dependabot_alerts %} tab lists an alert for every detected vulnerability. Legacy {% data variables.product.prodname_dependabot_alerts %} grouped vulnerabilities by dependency and generated a single alert per dependency. If you navigate to a legacy {% data variables.product.prodname_dependabot %} alert, you will be redirected to a {% data variables.product.prodname_dependabot_alerts %} tab filtered for that package. {% endif %}
41+
42+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5638 %}
43+
You can filter and sort {% data variables.product.prodname_dependabot_alerts %} using a variety of filters and sort options available on the user interface. For more information, see "[Prioritizing {% data variables.product.prodname_dependabot_alerts %}](#prioritizing-across--data-variablesproductprodname_dependabot_alerts-)" below.
44+
45+
## Prioritizing {% data variables.product.prodname_dependabot_alerts %}
46+
47+
{% data variables.product.company_short %} helps you prioritize fixing {% data variables.product.prodname_dependabot_alerts %}. {% ifversion dependabot-most-important-sort-option %} By default, {% data variables.product.prodname_dependabot_alerts %} are sorted by importance. The "Most important" sort order helps you prioritize which {% data variables.product.prodname_dependabot_alerts %} to focus on first. Alerts are ranked based on their potential impact, actionability, and relevance. Our prioritization calculation is constantly being improved and includes factors like CVSS score, dependency scope, and whether vulnerable function calls are found for the alert.
48+
49+
![Screenshot of Sort dropdown with "Most important" sort](/assets/images/help/dependabot/dependabot-alerts-sort-dropdown.png)
50+
{% endif %}
51+
52+
{% data reusables.dependabot.dependabot-alerts-filters %}
53+
54+
In addition to the filters available via the search bar, you can sort and filter {% data variables.product.prodname_dependabot_alerts %} using the dropdown menus at the top of the alert list. The search bar also allows for full text searching of alerts and related security advisories. You can search for part of a security advisory name or description to return the alerts in your repository that relate to that security advisory. For example, searching for `yaml.load() API could execute arbitrary code` will return {% data variables.product.prodname_dependabot_alerts %} linked to "[PyYAML insecurely deserializes YAML strings leading to arbitrary code execution](https://github.com/advisories/GHSA-rprw-h62v-c2w7)" as the search string appears in the advisory description.
55+
4356
{% endif %}
4457

58+
{% ifversion dependabot-bulk-alerts %}
59+
![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/help/graphs/dependabot-alerts-filters-checkbox.png){% elsif ghes = 3.5 %}
60+
You can select a filter in a dropdown menu at the top of the list, then click the filter that you would like to apply.
61+
![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/enterprise/3.5/dependabot/dependabot-alerts-filters.png){% endif %}
62+
4563
{% ifversion dependabot-alerts-development-label %}
4664
## Supported ecosystems and manifests for dependency scope
4765

48-
<!-- TODO: for now we'd have this table and heading as they are, but we're planning to replace this with at a later date a new heading containing all the available filters in one or more tables -->
4966
{% data reusables.dependabot.dependabot-alerts-dependency-scope %}
5067

5168
Alerts for packages listed as development dependencies are marked with the `Development` label on the {% data variables.product.prodname_dependabot_alerts %} page and are also available for filtering via the `scope` filter.
69+
5270
![Screenshot showing the "Development" label in the list of alerts](/assets/images/help/repository/dependabot-alerts-development-label.png)
5371

5472
The alert details page of alerts on development-scoped packages shows a "Tags" section containing a `Development` label.
73+
5574
![Screenshot showing the "Tags" section in the alert details page](/assets/images/help/repository/dependabot-alerts-tags-section.png)
5675

5776
{% endif %}
@@ -92,20 +111,7 @@ For more information, see "[Reviewing and fixing alerts](#reviewing-and-fixing-a
92111
{% data reusables.repositories.navigate-to-repo %}
93112
{% data reusables.repositories.sidebar-security %}
94113
{% data reusables.repositories.sidebar-dependabot-alerts %}
95-
1. Optionally, to filter alerts, select the **Repository**, **Package**, **Ecosystem**, or **Manifest** dropdown menu then click the filter that you would like to apply. You can also type filters into the search bar. For example, `ecosystem:npm`{% ifversion ghes < 3.7 or ghae-issue-5638 %} or `has:patch`{% endif %}{% ifversion dependabot-alerts-development-label %}, `has:patch` or `scope:development`{% endif %}. To sort alerts, select the **Sort** dropdown menu then click the option that you would like to sort by, or type `sort:` into the search bar and choose an option from the suggestions (for example, `sort:newest`).
96-
97-
{% ifversion dependabot-most-important-sort-option %}
98-
{% note %}
99-
100-
**Note:** By default, {% data variables.product.prodname_dependabot_alerts %} are sorted by importance. The "Most important" sort helps you prioritize which {% data variables.product.prodname_dependabot_alerts %} to focus on first. Alerts are ranked based on their potential impact, actionability, and relevance. Our prioritization calculation is constantly being improved and includes factors like CVSS score, dependency scope, and whether vulnerable function calls are found for the alert.
101-
{% endnote %}
102-
103-
![Screenshot of Sort dropdown with "Most important" sort](/assets/images/help/dependabot/dependabot-alerts-sort-dropdown.png)
104-
{% endif %}
105-
106-
You can also click a label on an alert to only show alerts of that type.{% ifversion dependabot-alerts-development-label %} For example, clicking the `Development` label in the list of alerts will only show alerts relating to dependencies used in development, not production. For information about the list of ecosystems supported, see "[Supported ecosystems and manifests for dependency scope ](#supported-ecosystems-and-manifests-for-dependency-scope)."
107-
108-
{% endif %}
114+
1. Optionally, to filter alerts, select a filter in a dropdown menu then click the filter that you would like to apply. You can also type filters into the search bar. For more information about filtering and sorting alerts, see "[Prioritizing {% data variables.product.prodname_dependabot_alerts %}](#prioritizing-across--data-variablesproductprodname_dependabot_alerts-)."
109115
{%- ifversion dependabot-bulk-alerts %}
110116
![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/help/graphs/dependabot-alerts-filters-checkbox.png){% else %}
111117
![Screenshot of the filter and sort menus in the {% data variables.product.prodname_dependabot_alerts %} tab](/assets/images/enterprise/3.5/dependabot/dependabot-alerts-filters.png){% endif %}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
You can sort and filter {% data variables.product.prodname_dependabot_alerts %} by typing filters as `key:value` pairs into the search bar.
2+
3+
| Option | Description | Example |
4+
|:---|:---|:---|
5+
| `ecosystem` | Displays alerts for the selected ecosystem | Use `ecosystem:npm` to show {% data variables.product.prodname_dependabot_alerts %} for npm |{% ifversion fpt or ghec or ghes > 3.5 %}
6+
| `has` | Displays alerts meeting the selected filter criteria | Use `has:patch` to show alerts related to advisories that have a patch{% ifversion dependabot-alerts-vulnerable-calls %}</br>Use `has:vulnerable-calls` to show alerts relating to calls to vulnerable functions{% endif %} |{% endif %}
7+
| `is` | Displays alerts based on their state | Use `is:open` to show open alerts |
8+
| `manifest` | Displays alerts for the selected manifest | Use `manifest:webwolf/pom.xml` to show alerts on the pom.xml file of the webwolf application |
9+
| `package` | Displays alerts for the selected package | Use `package:django` to show alerts for django |
10+
| `resolution` | Displays alerts of the selected resolution status | Use `resolution:no-bandwidth` to show alerts previously parked due to lack of resources or time to fix them |
11+
| `repo` | Displays alerts based on the repository they relate to</br>Note that this filter is only available on the security overview. For more information, see "[About the security overview](/code-security/security-overview/about-the-security-overview)" | Use `repo:octocat-repo` to show alerts in the repository called `octocat-repo` |{%- ifversion dependabot-alerts-development-label %}
12+
| `scope` | Displays alerts based on the scope of the dependency they relate to | Use `scope:development` to show alerts for dependencies that are only used during development |{% endif %}
13+
| `severity` | Displays alerts based on their level of severity | Use `severity:high` to show alerts with a severity of High |{%- ifversion dependabot-most-important-sort-option %}
14+
| `sort` | Displays alerts according to the selected sort order | The default sorting option for alerts is `sort:most-important`, which ranks alerts by importance</br>Use `sort:newest` to show the latest alerts reported by {% data variables.product.prodname_dependabot %} |{% endif %}

lib/rest/static/decorated/api.github.com.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -544619,8 +544619,8 @@
544619544619
]
544620544620
},
544621544621
"organization": {
544622-
"title": "Organization Full",
544623-
"description": "Organization Full",
544622+
"title": "Team Organization",
544623+
"description": "Team Organization",
544624544624
"type": "object",
544625544625
"properties": {
544626544626
"login": {
@@ -545351,8 +545351,8 @@
545351545351
]
545352545352
},
545353545353
"organization": {
545354-
"title": "Organization Full",
545355-
"description": "Organization Full",
545354+
"title": "Team Organization",
545355+
"description": "Team Organization",
545356545356
"type": "object",
545357545357
"properties": {
545358545358
"login": {
@@ -546131,8 +546131,8 @@
546131546131
]
546132546132
},
546133546133
"organization": {
546134-
"title": "Organization Full",
546135-
"description": "Organization Full",
546134+
"title": "Team Organization",
546135+
"description": "Team Organization",
546136546136
"type": "object",
546137546137
"properties": {
546138546138
"login": {
@@ -553319,8 +553319,8 @@
553319553319
]
553320553320
},
553321553321
"organization": {
553322-
"title": "Organization Full",
553323-
"description": "Organization Full",
553322+
"title": "Team Organization",
553323+
"description": "Team Organization",
553324553324
"type": "object",
553325553325
"properties": {
553326553326
"login": {
@@ -554089,8 +554089,8 @@
554089554089
]
554090554090
},
554091554091
"organization": {
554092-
"title": "Organization Full",
554093-
"description": "Organization Full",
554092+
"title": "Team Organization",
554093+
"description": "Team Organization",
554094554094
"type": "object",
554095554095
"properties": {
554096554096
"login": {
@@ -554778,8 +554778,8 @@
554778554778
]
554779554779
},
554780554780
"organization": {
554781-
"title": "Organization Full",
554782-
"description": "Organization Full",
554781+
"title": "Team Organization",
554782+
"description": "Team Organization",
554783554783
"type": "object",
554784554784
"properties": {
554785554785
"login": {
@@ -561942,8 +561942,8 @@
561942561942
]
561943561943
},
561944561944
"organization": {
561945-
"title": "Organization Full",
561946-
"description": "Organization Full",
561945+
"title": "Team Organization",
561946+
"description": "Team Organization",
561947561947
"type": "object",
561948561948
"properties": {
561949561949
"login": {

lib/rest/static/decorated/ghes-3.2.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -430488,8 +430488,8 @@
430488430488
]
430489430489
},
430490430490
"organization": {
430491-
"title": "Organization Full",
430492-
"description": "Organization Full",
430491+
"title": "Team Organization",
430492+
"description": "Team Organization",
430493430493
"type": "object",
430494430494
"properties": {
430495430495
"login": {
@@ -431204,8 +431204,8 @@
431204431204
]
431205431205
},
431206431206
"organization": {
431207-
"title": "Organization Full",
431208-
"description": "Organization Full",
431207+
"title": "Team Organization",
431208+
"description": "Team Organization",
431209431209
"type": "object",
431210431210
"properties": {
431211431211
"login": {
@@ -431968,8 +431968,8 @@
431968431968
]
431969431969
},
431970431970
"organization": {
431971-
"title": "Organization Full",
431972-
"description": "Organization Full",
431971+
"title": "Team Organization",
431972+
"description": "Team Organization",
431973431973
"type": "object",
431974431974
"properties": {
431975431975
"login": {
@@ -438934,8 +438934,8 @@
438934438934
]
438935438935
},
438936438936
"organization": {
438937-
"title": "Organization Full",
438938-
"description": "Organization Full",
438937+
"title": "Team Organization",
438938+
"description": "Team Organization",
438939438939
"type": "object",
438940438940
"properties": {
438941438941
"login": {
@@ -439688,8 +439688,8 @@
439688439688
]
439689439689
},
439690439690
"organization": {
439691-
"title": "Organization Full",
439692-
"description": "Organization Full",
439691+
"title": "Team Organization",
439692+
"description": "Team Organization",
439693439693
"type": "object",
439694439694
"properties": {
439695439695
"login": {
@@ -440361,8 +440361,8 @@
440361440361
]
440362440362
},
440363440363
"organization": {
440364-
"title": "Organization Full",
440365-
"description": "Organization Full",
440364+
"title": "Team Organization",
440365+
"description": "Team Organization",
440366440366
"type": "object",
440367440367
"properties": {
440368440368
"login": {
@@ -447303,8 +447303,8 @@
447303447303
]
447304447304
},
447305447305
"organization": {
447306-
"title": "Organization Full",
447307-
"description": "Organization Full",
447306+
"title": "Team Organization",
447307+
"description": "Team Organization",
447308447308
"type": "object",
447309447309
"properties": {
447310447310
"login": {

0 commit comments

Comments
 (0)