@@ -68,25 +68,25 @@ def test_multiple_findings(self):
68
68
69
69
# Test second finding
70
70
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 )
73
73
self .assertIsNone (finding .file_path )
74
74
self .assertIn (
75
- "**Vulnerability**: `CVE-2023-38039 `\n "
76
- "**Severity**: Medium \n "
75
+ "**Vulnerability**: `CVE-2020-8231 `\n "
76
+ "**Severity**: High \n "
77
77
"**OS Package**: `curl`\n "
78
78
"**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 "
81
81
"**CVSS Score (from Wiz)**: 7.5\n "
82
- "**Has Exploit (Known)**: True \n "
82
+ "**Has Exploit (Known)**: False \n "
83
83
"**In CISA KEV**: False\n \n "
84
84
"**Ignored Policies**:\n "
85
85
"- test Default vulnerabilities policy (ID: 9c6726d0-1ada-4541-b6d6-3da5ca1124f9)\n "
86
86
"- test Default vulnerabilities policy ( Updated ) (ID: 9bf73b16-99e7-4a54-af1e-dcfa1436a8f2)" ,
87
87
finding .description ,
88
88
)
89
- self .assertEqual ("CVE-2023-38039 " , finding .cve )
89
+ self .assertEqual ("CVE-2020-8231 " , finding .cve )
90
90
self .assertTrue (finding .static_finding )
91
91
self .assertFalse (finding .dynamic_finding )
92
92
self .assertTrue (finding .active )
0 commit comments