aboutsummaryrefslogtreecommitdiff
path: root/internal/cvss
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cvss')
-rw-r--r--internal/cvss/cvss_test.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/internal/cvss/cvss_test.go b/internal/cvss/cvss_test.go
index 0bd2eab..4faa30c 100644
--- a/internal/cvss/cvss_test.go
+++ b/internal/cvss/cvss_test.go
@@ -154,11 +154,13 @@ func TestNewVector(t *testing.T) {
"AV:N/AC:M/Au:S/C:P/I:P/A:C",
"AV:N/AC:M/Au:S/C:P/I:P/A:N",
"AV:N/AC:M/Au:S/C:P/I:P/A:P",
- "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
- "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:L",
- "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
- "CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
- "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
+
+ "CVSS:3.0/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
+ "CVSS:3.0/AV:A/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:L",
+ "CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
+ "CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
+ "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
+
"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",