From 7f598f7b58c400b773a514683e90f4eb93bb40cd Mon Sep 17 00:00:00 2001
From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date: Sun, 10 Jul 2022 17:06:41 +0200
Subject: [PATCH] docs(configuration options): rewrite vulnerabilityAlerts
 (#16503)

---
 docs/usage/configuration-options.md | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md
index d6ed310ac6..5f2233a5dd 100644
--- a/docs/usage/configuration-options.md
+++ b/docs/usage/configuration-options.md
@@ -2844,16 +2844,22 @@ Other managers can use the `"loose"` versioning fallback: the first 3 parts are
 
 ## vulnerabilityAlerts
 
-Renovate can read from GitHub's Vulnerability Alerts and customize Pull Requests accordingly.
-For this to work, you must first ensure you have enabled "[Dependency graph](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph#enabling-the-dependency-graph)" and "[Dependabot alerts](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository)" under the "Security & analysis" section of the repository's "Settings" tab.
+Renovate can read GitHub's Vulnerability Alerts to customize its Pull Requests.
+For this to work, you must enable the [Dependency graph](https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph#enabling-the-dependency-graph), and [Dependabot alerts](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository).
+Follow these steps:
 
-Additionally, if you are running Renovate in app mode then you must make sure that the app has been granted the permissions to read "Vulnerability alerts".
-If you are the account admin, browse to the app (e.g. [https://github.com/apps/renovate](https://github.com/apps/renovate)), select "Configure", and then scroll down to the "Permissions" section and verify that read access to "vulnerability alerts" is mentioned.
+1. While logged in to GitHub, navigate to your repository
+1. Click on the "Settings" tab
+1. Click on "Code security and analysis" in the sidebar
+1. Enable the "Dependency graph"
+1. Enable "Dependabot alerts"
+1. If you're running Renovate in app mode: make sure the app has `read` permissions for "Vulnerability alerts".
+   If you're the account administrator, browse to the app (for example [https://github.com/apps/renovate](https://github.com/apps/renovate)), select "Configure", and then scroll down to the "Permissions" section and make sure that `read` access to "vulnerability alerts" is mentioned
 
-Once the above conditions are met, and you got one or more vulnerability alerts from GitHub for this repository, then Renovate tries to raise fix PRs accordingly.
+Once the above conditions are met, and you got one or more vulnerability alerts from GitHub for this repository, then Renovate tries to raise fix PRs.
 
-Use the `vulnerabilityAlerts` configuration object if you want to customise vulnerability-fix PRs specifically.
-For example, to configure custom labels and assignees:
+You may use the `vulnerabilityAlerts` configuration object to customize vulnerability-fix PRs.
+For example, to set custom labels and assignees:
 
 ```json
 {
@@ -2869,7 +2875,7 @@ For example, to configure custom labels and assignees:
 !!! warning
     There's a small chance that an incorrect vulnerability alert could result in flapping/looping vulnerability fixes, so observe carefully if enabling `automerge`.
 
-To disable the vulnerability alerts functionality completely, configure like this:
+To disable the vulnerability alerts feature, set `enabled=false` in a `vulnerabilityAlerts` config object, like this:
 
 ```json
 {
-- 
GitLab