Skip to content

Commit 02d212e

Browse files
committed
Use a more specific url for cvss qualitative severity system.
Signed-off-by: tushar912 <tushar.912u@gmail.com>
1 parent a34b183 commit 02d212e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

vulnerabilities/severity_systems.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def as_score(self, value):
7878
"cvssv3.1_qr": ScoringSystem(
7979
identifier="cvssv3.1_qr",
8080
name="CVSSv3.1 Qualitative Severity Rating",
81-
url="https://www.first.org/cvss/specification-document",
81+
url="https://www.first.org/cvss/specification-document#Qualitative-Severity-Rating-Scale",
8282
notes="A textual interpretation of severity. Has values like HIGH, MODERATE etc",
8383
),
8484
}

vulnerabilities/tests/test_github.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_process_response(self):
195195
system=ScoringSystem(
196196
identifier="cvssv3.1_qr",
197197
name="CVSSv3.1 Qualitative Severity Rating",
198-
url="https://www.first.org/cvss/specification-document",
198+
url="https://www.first.org/cvss/specification-document#Qualitative-Severity-Rating-Scale",
199199
notes="A textual interpretation of severity. Has values like HIGH, MODERATE etc", # nopep8
200200
),
201201
value="MODERATE",
@@ -236,7 +236,7 @@ def test_process_response(self):
236236
system=ScoringSystem(
237237
identifier="cvssv3.1_qr",
238238
name="CVSSv3.1 Qualitative Severity Rating",
239-
url="https://www.first.org/cvss/specification-document",
239+
url="https://www.first.org/cvss/specification-document#Qualitative-Severity-Rating-Scale",
240240
notes="A textual interpretation of severity. Has values like HIGH, MODERATE etc", # nopep8
241241
),
242242
value="HIGH",
@@ -276,7 +276,7 @@ def test_process_response(self):
276276
system=ScoringSystem(
277277
identifier="cvssv3.1_qr",
278278
name="CVSSv3.1 Qualitative Severity Rating",
279-
url="https://www.first.org/cvss/specification-document",
279+
url="https://www.first.org/cvss/specification-document#Qualitative-Severity-Rating-Scale",
280280
notes="A textual interpretation of severity. Has values like HIGH, MODERATE etc", # nopep8
281281
),
282282
value="LOW",
@@ -316,7 +316,7 @@ def test_process_response(self):
316316
system=ScoringSystem(
317317
identifier="cvssv3.1_qr",
318318
name="CVSSv3.1 Qualitative Severity Rating",
319-
url="https://www.first.org/cvss/specification-document",
319+
url="https://www.first.org/cvss/specification-document#Qualitative-Severity-Rating-Scale",
320320
notes="A textual interpretation of severity. Has values like HIGH, MODERATE etc", # nopep8
321321
),
322322
value="MODERATE",
@@ -357,7 +357,7 @@ def test_process_response(self):
357357
system=ScoringSystem(
358358
identifier="cvssv3.1_qr",
359359
name="CVSSv3.1 Qualitative Severity Rating",
360-
url="https://www.first.org/cvss/specification-document",
360+
url="https://www.first.org/cvss/specification-document#Qualitative-Severity-Rating-Scale",
361361
notes="A textual interpretation of severity. Has values like HIGH, MODERATE etc", # nopep8
362362
),
363363
value="LOW",

0 commit comments

Comments
 (0)