From 552e3b8993d799aab318ac28974436725b33e0b7 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Sat, 9 Mar 2024 09:55:20 -0500 Subject: [PATCH] cvss: add new test case --- code/cvss/test/Spec.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/code/cvss/test/Spec.hs b/code/cvss/test/Spec.hs index dd17033e..5faccf73 100644 --- a/code/cvss/test/Spec.hs +++ b/code/cvss/test/Spec.hs @@ -27,6 +27,7 @@ examples = , ("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", 6.1, CVSS.Medium) , ("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", 6.4, CVSS.Medium) , ("CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N", 3.1, CVSS.Low) + , ("CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", 4.0, CVSS.Medium) , ("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", 9.9, CVSS.Critical) , ("CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L", 4.2, CVSS.Medium) , ("CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:N/A:C", 7.8, CVSS.High)