@@ -68,25 +68,25 @@ def test_multiple_findings(self):
6868
6969 # Test second finding
7070 finding = findings [1 ]
71- self .assertEqual ("OS Pkg: curl 7.64.0-r5 - CVE-2023-38039 " , finding .title )
72- self .assertEqual ("Medium " , finding .severity )
71+ self .assertEqual ("OS Pkg: curl 7.64.0-r5 - CVE-2020-8231 " , finding .title )
72+ self .assertEqual ("High " , finding .severity )
7373 self .assertIsNone (finding .file_path )
7474 self .assertIn (
75- "**Vulnerability**: `CVE-2023-38039 `\n "
76- "**Severity**: Medium \n "
75+ "**Vulnerability**: `CVE-2020-8231 `\n "
76+ "**Severity**: High \n "
7777 "**OS Package**: `curl`\n "
7878 "**Version**: `7.64.0-r5`\n "
79- "**Fixed Version**: N/A \n "
80- "**Source**: https://security.alpinelinux.org/vuln/CVE-2023-38039 \n "
79+ "**Fixed Version**: 7.66.0-r5 \n "
80+ "**Source**: https://security.alpinelinux.org/vuln/CVE-2020-8231 \n "
8181 "**CVSS Score (from Wiz)**: 7.5\n "
82- "**Has Exploit (Known)**: True \n "
82+ "**Has Exploit (Known)**: False \n "
8383 "**In CISA KEV**: False\n \n "
8484 "**Ignored Policies**:\n "
8585 "- test Default vulnerabilities policy (ID: 9c6726d0-1ada-4541-b6d6-3da5ca1124f9)\n "
8686 "- test Default vulnerabilities policy ( Updated ) (ID: 9bf73b16-99e7-4a54-af1e-dcfa1436a8f2)" ,
8787 finding .description ,
8888 )
89- self .assertEqual ("CVE-2023-38039 " , finding .cve )
89+ self .assertEqual ("CVE-2020-8231 " , finding .cve )
9090 self .assertTrue (finding .static_finding )
9191 self .assertFalse (finding .dynamic_finding )
9292 self .assertTrue (finding .active )
0 commit comments