Skip to content

Commit 55c854e

Browse files
mchammer01am-stead
andauthored
Use GitHub presets, not GitHub-curated rules (#49365)
Co-authored-by: Anne-Marie <[email protected]>
1 parent 10e50e7 commit 55c854e

7 files changed

+19
-18
lines changed

content/code-security/dependabot/dependabot-auto-triage-rules/about-dependabot-auto-triage-rules.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: About Dependabot auto-triage rules
3-
intro: '{% data variables.dependabot.auto_triage_rules %} are a powerful tool to help you better manage your security alerts at scale. {% data variables.product.prodname_dependabot %}''s default rules are curated for you and filter out a substantial amount of false positives. {% data variables.dependabot.custom_rules_caps %} provide control over which alerts are ignored, snoozed, or trigger a {% data variables.product.prodname_dependabot %} security update to resolve the alert.'
3+
intro: '{% data variables.dependabot.auto_triage_rules %} are a powerful tool to help you better manage your security alerts at scale. {% data variables.dependabot.github_presets %} are rules curated by {% data variables.product.company_short %} that you can use to filter out a substantial amount of false positives. {% data variables.dependabot.custom_rules_caps %} provide control over which alerts are ignored, snoozed, or trigger a {% data variables.product.prodname_dependabot %} security update to resolve the alert.'
44
permissions: 'People with write permissions can view {% data variables.dependabot.auto_triage_rules %} for the repository. People with admin permissions to a repository can enable or disable {% data variables.dependabot.auto_triage_rules_short %} for the repository, as well as create {% data variables.dependabot.custom_rules %}. Additionally, organization owners and security managers can set {% data variables.dependabot.auto_triage_rules_short %} at the organization-level and optionally choose to enforce rules for repositories in the organization.'
55
versions:
66
feature: dependabot-auto-triage-rules
@@ -25,18 +25,18 @@ redirect_from:
2525

2626
There are two types of {% data variables.dependabot.auto_triage_rules %}:
2727

28-
- {% data variables.dependabot.default_rules %}
28+
- {% data variables.dependabot.github_presets %}
2929
- {% data variables.dependabot.custom_rules_caps %}
3030

31-
### About {% data variables.dependabot.default_rules %}
31+
### About {% data variables.dependabot.github_presets %}
3232

3333
{% note %}
3434

35-
{% data reusables.dependabot.dependabot-default-auto-triage-rules %}
35+
{% data reusables.dependabot.dependabot-github-preset-auto-triage-rules %}
3636

3737
{% endnote %}
3838

39-
{% data reusables.dependabot.dismiss-low-impact-rule %}
39+
{% data variables.dependabot.github_presets %} are rules curated by {% data variables.product.company_short %}. {% data reusables.dependabot.dismiss-low-impact-rule %}
4040

4141
### About {% data variables.dependabot.custom_rules %}
4242

@@ -60,5 +60,5 @@ Auto-dismissed alerts are defined by the `resolution:auto-dismiss` close reason.
6060

6161
## Further reading
6262

63-
- [AUTOTITLE](/code-security/dependabot/dependabot-auto-triage-rules/using-github-curated-default-rules-to-prioritize-dependabot-alerts)
63+
- [AUTOTITLE](/code-security/dependabot/dependabot-auto-triage-rules/using-github-preset-rules-to-prioritize-dependabot-alerts)
6464
- [AUTOTITLE](/code-security/dependabot/dependabot-auto-triage-rules/customizing-auto-triage-rules-to-prioritize-dependabot-alerts)

content/code-security/dependabot/dependabot-auto-triage-rules/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ topics:
1313
- Dependencies
1414
children:
1515
- /about-dependabot-auto-triage-rules
16-
- /using-github-curated-default-rules-to-prioritize-dependabot-alerts
16+
- /using-github-preset-rules-to-prioritize-dependabot-alerts
1717
- /customizing-auto-triage-rules-to-prioritize-dependabot-alerts
1818
- /managing-automatically-dismissed-alerts
1919
redirect_from:
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Using GitHub-curated default rules to prioritize Dependabot alerts
3-
intro: 'You can use a {% data variables.product.company_short %}-curated default rule to auto-dismiss low impact development alerts for npm dependencies.'
4-
permissions: 'People with write permissions can view {% data variables.dependabot.auto_triage_rules %} for the repository. People with admin permissions to a repository can enable or disable {% data variables.dependabot.default_rules %} for the repository. Organization owners and security managers can enable or disable {% data variables.dependabot.default_rules %} at the organization-level and optionally choose to enforce rules for repositories in the organization.'
2+
title: Using GitHub preset rules to prioritize Dependabot alerts
3+
intro: 'You can use {% data variables.dependabot.github_presets %}, which are rules curated by {% data variables.product.company_short %}, to auto-dismiss low impact development alerts for npm dependencies.'
4+
permissions: 'People with write permissions can view {% data variables.dependabot.auto_triage_rules %} for the repository. People with admin permissions to a repository can enable or disable {% data variables.dependabot.github_presets %} for the repository. Organization owners and security managers can enable or disable {% data variables.dependabot.github_presets %} at the organization-level and optionally choose to enforce rules for repositories in the organization.'
55
versions:
66
feature: dependabot-auto-triage-rules
77
type: how_to
@@ -11,16 +11,17 @@ topics:
1111
- Vulnerabilities
1212
- Repositories
1313
- Dependencies
14-
shortTitle: GitHub-curated default rules
14+
shortTitle: GitHub preset rules
1515
redirect_from:
1616
- /code-security/dependabot/dependabot-alert-rules/using-github-curated-alert-rules-to-prioritize-dependabot-alerts
17+
- /code-security/dependabot/dependabot-auto-triage-rules/using-github-curated-default-rules-to-prioritize-dependabot-alerts
1718
---
1819

1920
{% data reusables.dependabot.dependabot-auto-triage-rules-beta %}
2021

21-
## About {% data variables.dependabot.default_rules %}
22+
## About {% data variables.dependabot.github_presets %}
2223

23-
The {% data variables.product.company_short %}-curated default rule, `Dismiss low impact issues for development-scoped dependencies`, auto-dismisses certain types of vulnerabilities that are found in npm dependencies used in development. These alerts cover cases that feel like false alarms to most developers as the associated vulnerabilities:
24+
The `Dismiss low impact issues for development-scoped dependencies` rule is a {% data variables.product.company_short %} preset that auto-dismisses certain types of vulnerabilities that are found in npm dependencies used in development. These alerts cover cases that feel like false alarms to most developers as the associated vulnerabilities:
2425

2526
- Are unlikely to be exploitable in a developer (non-production or runtime) environment.
2627
- May relate to resource management, programming and logic, and information disclosure issues.
@@ -33,11 +34,11 @@ The {% data variables.product.company_short %}-curated default rule, `Dismiss lo
3334

3435
{% endnote %}
3536

36-
The {% data variables.product.company_short %}-curated default rule, `Dismiss low impact issues for development-scoped dependencies`, includes vulnerabilities relating to resource management, programming and logic, and information disclosure issues. For more information, see "[Publicly disclosed CWEs used by the `Dismiss low impact issues for development-scoped dependencies` rule](#publicly-disclosed-cwes-used-by-the-dismiss-low-impact-issues-for-development-scoped-dependencies-rule)."
37+
The `Dismiss low impact issues for development-scoped dependencies` rule includes vulnerabilities relating to resource management, programming and logic, and information disclosure issues. For more information, see "[Publicly disclosed CWEs used by the `Dismiss low impact issues for development-scoped dependencies` rule](#publicly-disclosed-cwes-used-by-the-dismiss-low-impact-issues-for-development-scoped-dependencies-rule)."
3738

3839
Filtering out these low impact alerts allows you to focus on alerts that matter to you, without having to worry about missing potentially high-risk development-scoped alerts.
3940

40-
The {% data variables.product.company_short %}-curated default rule, `Dismiss low impact issues for development-scoped dependencies`, is enabled by default on public repositories and disabled for private repositories. Administrators of private repositories can opt in by enabling the rule for their repository.
41+
The `Dismiss low impact issues for development-scoped dependencies` rule is enabled by default on public repositories and disabled for private repositories. Administrators of private repositories can opt in by enabling the rule for their repository.
4142

4243
## Enabling the `Dismiss low impact issues for development-scoped dependencies` rule for your private repository
4344

data/reusables/dependabot/dependabot-default-auto-triage-rules.md

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% data variables.dependabot.github_presets %} for {% data variables.product.prodname_dependabot_alerts %} are rules that are available for all repositories.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The {% data variables.product.company_short %}-curated default rule, `Dismiss low impact issues for development-scoped dependencies`, auto-dismisses certain types of vulnerabilities that are found in npm dependencies used in development. The rule has been curated to reduce false positives and reduce alert fatigue. The rule is enabled by default for public repositories and can be opted into for private repositories. However, you cannot modify {% data variables.dependabot.default_rules %}. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-auto-triage-rules/using-github-curated-default-rules-to-prioritize-dependabot-alerts)."
1+
The `Dismiss low impact issues for development-scoped dependencies` is a {% data variables.product.company_short %} preset rule. This rule auto-dismisses certain types of vulnerabilities that are found in npm dependencies used in development. The rule has been curated to reduce false positives and reduce alert fatigue. The rule is enabled by default for public repositories and can be opted into for private repositories. However, you cannot modify {% data variables.dependabot.github_presets %}. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-auto-triage-rules/using-github-preset-rules-to-prioritize-dependabot-alerts)."

data/variables/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
auto_triage_rules: 'Dependabot auto-triage rules'
44
auto_triage_rules_short: 'auto-triage rules'
5-
default_rules: 'GitHub-curated default rules'
5+
github_presets: 'GitHub presets'
66
custom_rules_caps: 'Custom auto-triage rules'
77
custom_rules: 'custom auto-triage rules'

0 commit comments

Comments
 (0)