@@ -68,19 +68,25 @@ def test_multiple_findings(self):
6868
6969 # Test second finding
7070 finding = findings [1 ]
71- self .assertEqual ("OS Pkg: libssl3 3.3.1-r0 - CVE-2024-5535 " , finding .title )
72- self .assertEqual ("Low " , finding .severity )
71+ self .assertEqual ("OS Pkg: curl 7.64.0-r5 - CVE-2023-38039 " , finding .title )
72+ self .assertEqual ("Medium " , finding .severity )
7373 self .assertIsNone (finding .file_path )
7474 self .assertIn (
75- "**Vulnerability**: `CVE-2024-5535`\n "
76- "**Severity**: Low\n "
77- "**OS Package**: `libssl3`\n "
78- "**Version**: `3.3.1-r0`\n "
79- "**Fixed Version**: 3.3.1-r1\n "
80- "**Source**: https://security.alpinelinux.org/vuln/CVE-2024-5535" ,
75+ "**Vulnerability**: `CVE-2023-38039`\n "
76+ "**Severity**: Medium\n "
77+ "**OS Package**: `curl`\n "
78+ "**Version**: `7.64.0-r5`\n "
79+ "**Fixed Version**: N/A\n "
80+ "**Source**: https://security.alpinelinux.org/vuln/CVE-2023-38039\n "
81+ "**CVSS Score (from Wiz)**: 7.5\n "
82+ "**Has Exploit (Known)**: True\n "
83+ "**In CISA KEV**: False\n \n "
84+ "**Ignored Policies**:\n "
85+ "- test Default vulnerabilities policy (ID: 9c6726d0-1ada-4541-b6d6-3da5ca1124f9)\n "
86+ "- test Default vulnerabilities policy ( Updated ) (ID: 9bf73b16-99e7-4a54-af1e-dcfa1436a8f2)" ,
8187 finding .description ,
8288 )
83- self .assertEqual ("CVE-2024-5535 " , finding .cve )
89+ self .assertEqual ("CVE-2023-38039 " , finding .cve )
8490 self .assertTrue (finding .static_finding )
8591 self .assertFalse (finding .dynamic_finding )
8692 self .assertTrue (finding .active )
0 commit comments