Skip to content

Commit baaae5c

Browse files
committed
Simplify versioning and review edits
1 parent d4b40e2 commit baaae5c

9 files changed

Lines changed: 70 additions & 97 deletions

File tree

36.5 KB
Loading
27.6 KB
Loading

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

Lines changed: 32 additions & 90 deletions
Large diffs are not rendered by default.

content/code-security/security-overview/filtering-alerts-in-the-security-overview.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,17 @@ Available in the code scanning alert views. All code scanning alerts have one of
118118
|`severity:warning`|Displays {% data variables.product.prodname_code_scanning %} alerts categorized as warnings.|
119119
|`severity:note`|Displays {% data variables.product.prodname_code_scanning %} alerts categorized as notes.|
120120

121+
{% if dependabot-alerts-vulnerable-calls %}
122+
## Filter by {% data variables.product.prodname_dependabot %} alert type
123+
124+
Available in the {% data variables.product.prodname_dependabot %} alert views. You can filter the view to show {% data variables.product.prodname_dependabot_alerts %} that are ready to fix or where additional information about exposure is available. You can click any result to see full details of the alert.
125+
126+
| Qualifier | Description |
127+
| -------- | -------- |
128+
|`has:patch`|Displays {% data variables.product.prodname_dependabot %} alerts for vulnerabilities where a secure version is already available.|
129+
|`has:vulnerable-calls`|Displays {% data variables.product.prodname_depednabot %} alerts where at least one call from the repository to a vulnerable function is detected.|
130+
{% endif %}
131+
121132
{% endif %}
122133

123134
## Filter by secret types

content/code-security/supply-chain-security/end-to-end-supply-chain/securing-code.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ As a first step, you want to make a complete inventory of your dependencies. The
5050

5151
### Assessment of exposure to risk from a vulnerable dependency
5252

53-
When you discover you are using a vulnerable dependency, for example, a library or a framework, you must assess your project's level of exposure and determine what action to take. Vulnerabilities are usually reported with a severity score to show how severe their impact could be. The severity score is a useful guide but cannot tell you the full impact of the vulnerability on your code.
54-
55-
To assess the impact of a vulnerability on your code, you also need to consider how you use the library and determine how much risk that actually poses to your system. Maybe the vulnerability is part of a feature that you don't use, and you can update the affected library and continue with your normal release cycle. Or maybe your code is badly exposed to risk, and you need to update the affected library and ship an updated build right away. This decision depends on how you're using the library in your system, and is a decision that only you have the knowledge to make.
53+
{% data reusables.dependabot.vulnerable-calls-beta %}
5654

5755
## Secure your communication tokens
5856

data/features/dependabot-alerts-vulnerable-calls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reference: Issue #6076 in docs-content
1+
# Reference: Issue #6076 introduction of label for "vulnerable calls" in Dependabot alerts
22
versions:
33
fpt: '*'
44
ghec: '*'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!--When making updates to this text, remember to keep the text general. It is used in the end-to-end Supply chain guides -->
2+
3+
When you discover you are using a vulnerable dependency, for example, a library or a framework, you must assess your project's level of exposure and determine what action to take. Vulnerabilities are usually reported with a severity score to show how severe their impact could be. The severity score is a useful guide but cannot tell you the full impact of the vulnerability on your code.
4+
5+
To assess the impact of a vulnerability on your code, you also need to consider how you use the library and determine how much risk that actually poses to your system. Maybe the vulnerability is part of a feature that you don't use, and you can update the affected library and continue with your normal release cycle. Or maybe your code is badly exposed to risk, and you need to update the affected library and ship an updated build right away. This decision depends on how you're using the library in your system, and is a decision that only you have the knowledge to make.

data/reusables/dependabot/vulnerable-calls-beta.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
{% note %}
44

5-
**Note:** The detection of calls to vulnerable functions by {% data variables.product.prodname_dependabot %} is in beta and subject to change. During the beta release, this feature is only available:
6-
- Via the {% data variables.product.prodname_dependabot_alerts %} page on {% data variables.product.company_short %}.
7-
- For new Python advisories created _after_ April 7, 2022, and for a prioritized set of critical historic advisories.
5+
**Notes:**
6+
7+
- The detection of calls to vulnerable functions by {% data variables.product.prodname_dependabot %} is in beta and subject to change.
8+
9+
- During the beta release, this feature is available only for new Python advisories created _after_ April 7, 2022, and for a prioritized set of critical historic Python advisories. Vulnerable calls are highlighted only on the {% data variables.product.prodname_dependabot_alerts %} pages.
10+
11+
- {% data reusables.gated-features.dependency-vulnerable-calls %}
812

913
{% endnote %}
1014

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{%- ifversion fpt %}
2+
Detection of vulnerable calls is enabled on public repositories. This analysis is also available in private repositories owned by organizations that use {% data variables.product.prodname_ghe_cloud %} and have licensed {% data variables.product.prodname_GH_advanced_security %}.
3+
4+
{%- elsif ghec %}
5+
Detection of vulnerable calls is included in {% data variables.product.product_name %} for public repositories. To detect vulnerable calls in private repositories owned by organizations, your organization must have a license for {% data variables.product.prodname_GH_advanced_security %}.
6+
7+
{%- elsif ghes > 3.5 %}
8+
Detection of vulnerable calls is available for organization-owned repositories in {% data variables.product.product_name %}. This feature requires a license for {% data variables.product.prodname_GH_advanced_security %}.
9+
10+
{%- elsif ghae-issue-6076 %}
11+
Detection of vulnerable calls is available for organization-owned repositories in {% data variables.product.product_name %}. This is a {% data variables.product.prodname_GH_advanced_security %} feature (free during the beta release).
12+
13+
{%- endif %} {% data reusables.advanced-security.more-info-ghas %}

0 commit comments

Comments
 (0)