From b0ee42ae486b75d474278b3c2ca022b59ddae37c Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Mon, 21 Oct 2024 14:16:38 +1300 Subject: [PATCH] chore: address some typos Signed-off-by: Gareth Jones --- README.md | 2 +- docs/schema.md | 2 +- tools/debian/.pylintrc | 2 +- tools/ghsa/convert_ghsa.py | 2 +- tools/osv-linter/internal/checks/checks.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7600c4c9..7734271f 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Together, these include vulnerabilities from: - RubyGems - Ubuntu -These vulnerabilites are aggregated by . +These vulnerabilities are aggregated by . Join the discussion in the [OpenSSF Slack](https://slack.openssf.org/) channel [#osv_schema](https://openssf.slack.com/archives/C03K6SZBH2S) diff --git a/docs/schema.md b/docs/schema.md index 2ece2e71..1fb12a8f 100644 --- a/docs/schema.md +++ b/docs/schema.md @@ -587,7 +587,7 @@ describes the quantitative method used to calculate the associated `score`. | --------- | ----------- | | `CVSS_V2` | A CVSS vector string representing the unique characteristics and severity of the vulnerability using a version of the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/v2/) that is == 2.0 (e.g.`"AV:L/AC:M/Au:N/C:N/I:P/A:C"`).| | `CVSS_V3` | A CVSS vector string representing the unique characteristics and severity of the vulnerability using a version of the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/) that is >= 3.0 and < 4.0 (e.g.`"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"`).| -| `CVSS_V4` | A CVSS vector string representing the unique characterictics and severity of the vulnerability using a version on the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/) that is >= 4.0 and < 5.0 (e.g. `"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"`). | +| `CVSS_V4` | A CVSS vector string representing the unique characteristics and severity of the vulnerability using a version on the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/) that is >= 4.0 and < 5.0 (e.g. `"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"`). | | Your quantitative severity type here. | [Send us a PR](https://github.com/ossf/osv-schema/compare). | ### severity[].score field diff --git a/tools/debian/.pylintrc b/tools/debian/.pylintrc index 9cdfb9cb..4cbf51b1 100644 --- a/tools/debian/.pylintrc +++ b/tools/debian/.pylintrc @@ -289,7 +289,7 @@ no-space-check= max-module-lines=99999 # String used as indentation unit. The internal Google style guide mandates 2 -# spaces. Google's externaly-published style guide says 4, consistent with +# spaces. Google's externally-published style guide says 4, consistent with # PEP 8. Here, we use 2 spaces, for conformity with many open-sourced Google # projects (like TensorFlow). indent-string=' ' diff --git a/tools/ghsa/convert_ghsa.py b/tools/ghsa/convert_ghsa.py index ab44d6aa..a3456156 100644 --- a/tools/ghsa/convert_ghsa.py +++ b/tools/ghsa/convert_ghsa.py @@ -253,7 +253,7 @@ def get_affected(ghsa: Dict[str, Any]) -> List[Dict[str, Any]]: if ghsa_range.upper: if ghsa_range.upper.operator == '<=': if first_patched: - # "fixed" events are prefered over "last_affected" + # "fixed" events are preferred over "last_affected" current_events.append({'fixed': first_patched}) else: current_events.append({'last_affected': ghsa_range.upper.version}) diff --git a/tools/osv-linter/internal/checks/checks.go b/tools/osv-linter/internal/checks/checks.go index 114314da..c5b498fa 100644 --- a/tools/osv-linter/internal/checks/checks.go +++ b/tools/osv-linter/internal/checks/checks.go @@ -3,7 +3,7 @@ // To add additional checks: // 1. define a new instance of `Check` // 2. add it to the `checks` array -// 3. add it to the relevent collections defined in `checkCollections` +// 3. add it to the relevant collections defined in `checkCollections` // // To add additional collections of checks: // 1. add to the `checkCollections` array.