Skip to content

Commit 1d9b902

Browse files
ashmodanother-rexcuixq
authored
docs(blog): fix broken external link (google#4133)
This replaces the yuzu link in [Introducing broad C/C++ vulnerability management support](https://osv.dev/blog/posts/introducing-broad-c-c++-support/) with an archived version, since the original repository is no longer available. The example steps have also been updated to reflect the current flow verified locally. This should fix a `404` reported by the markdown-link-check action. There's still `429`/`403` issues but those can be fixed in a separate PR. --------- Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com> Co-authored-by: Xueqin Cui <72771658+cuixq@users.noreply.github.com>
1 parent bde844c commit 1d9b902

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

gcp/website/blog/content/posts/introducing-broad-c-c++-support/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ Matching C/C++ dependencies to known vulnerabilities has been one of the final p
3535

3636
Submoduled dependencies retain their Git histories. [OSV-Scanner](https://google.github.io/osv-scanner/) [v1.4.3](https://github.com/google/osv-scanner/releases/tag/v1.4.3) is able to determine the most recent Git commits for the submoduled dependencies and return any associated vulnerabilities.
3737

38-
For example, let’s consider the [yuzu](https://github.com/yuzu-emu/yuzu) project and see if we can find any vulnerabilities in the project dependencies. We’ll be working from commit `43be2bfe332d5537041262eb08037993239eaf5f` for this example.
38+
For example, let’s consider the archived [yuzu](https://github.com/yuzu-emu-mirror/yuzu) project repository and see if we can find any vulnerabilities in the project dependencies. We’ll be working from commit `43be2bfe332d5537041262eb08037993239eaf5f` for this example.
3939

4040
Follow these steps:
4141

42-
1. Clone the yuzu project to your local machine using `git clone https://github.com/yuzu-emu/yuzu`. It is not necessary to use `git clone –recursive`. OSV-Scanner will be able to determine the appropriate Git commits without the recursive flag.
42+
1. Clone the yuzu project to your local machine using `git clone --recursive https://github.com/yuzu-emu-mirror/yuzu`.
4343
2. Checkout the relevant commit using `git -C yuzu checkout 43be2bfe332d5537041262eb08037993239eaf5f`
44-
3. Run `osv-scanner yuzu/`
44+
3. Run `osv-scanner yuzu`
4545

4646
OSV-Scanner returns the following vulnerabilities from the submoduled dependencies:
4747

@@ -67,4 +67,4 @@ Let’s consider the [OpenCV](https://github.com/opencv/opencv) project, which u
6767

6868
## Try it yourself!
6969

70-
Do you have a project that uses C/C++ dependencies? We encourage you to try our new vulnerable commit range features by using the [latest OSV-Scanner release](https://github.com/google/osv-scanner/releases/tag/v1.4.3) and [let us know](https://github.com/google/osv.dev/issues/new/) about your experience. If you encounter a data issue, please fill out a [data quality report](https://github.com/google/osv.dev/issues/new?assignees=&labels=data+quality&projects=&template=converted-nvd-cve-data-quality-report.md&title=Data+quality+issue+with+CVE-yyyy-nnnn). Your contributions, questions, and feedback will help us improve not only the quality of our data, but will ultimately help users identify and fix vulnerabilities in their projects.
70+
Do you have a project that uses C/C++ dependencies? We encourage you to try our new vulnerable commit range features by using the [latest OSV-Scanner release](https://github.com/google/osv-scanner/releases/latest) and [let us know](https://github.com/google/osv.dev/issues/new/) about your experience. If you encounter a data issue, please fill out a [data quality report](https://github.com/google/osv.dev/issues/new?assignees=&labels=data+quality&projects=&template=converted-nvd-cve-data-quality-report.md&title=Data+quality+issue+with+CVE-yyyy-nnnn). Your contributions, questions, and feedback will help us improve not only the quality of our data, but will ultimately help users identify and fix vulnerabilities in their projects.

mlc_config.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
22
"timeout": "60s",
3-
"retryOn429": true,
4-
"retryCount": 8,
5-
"fallbackRetryDelay": "60s",
63
"aliveStatusCodes": [
74
200, 201, 202, 203, 204, 206,
85
301, 302, 303, 307, 308,
9-
401, 403, 405
6+
401, 403, 405, 429
107
]
118
}

0 commit comments

Comments
 (0)