@@ -98,7 +98,7 @@ func TestScanResultsToIssuesCollection(t *testing.T) {
9898 Applicable : "Applicable" ,
9999 FixedVersions : []string {"1.2.3" },
100100 ImpactedDependencyDetails : formats.ImpactedDependencyDetails {
101- SeverityDetails : formats.SeverityDetails {Severity : "High" , SeverityNumValue : 21 },
101+ SeverityDetails : formats.SeverityDetails {Severity : "High" , SeverityNumValue : 26 },
102102 ImpactedDependencyName : "Dep-1" ,
103103 },
104104 Cves : []formats.CveRow {{Id : "CVE-2022-2122" , Applicability : & formats.Applicability {Status : "Applicable" , ScannerDescription : "rule-msg" , Evidence : []formats.Evidence {{Reason : "result-msg" , Location : formats.Location {File : "file1" , StartLine : 1 , StartColumn : 10 , EndLine : 2 , EndColumn : 11 , Snippet : "snippet" }}}}}},
@@ -107,7 +107,7 @@ func TestScanResultsToIssuesCollection(t *testing.T) {
107107 Applicable : "Not Applicable" ,
108108 FixedVersions : []string {"1.2.2" },
109109 ImpactedDependencyDetails : formats.ImpactedDependencyDetails {
110- SeverityDetails : formats.SeverityDetails {Severity : "Low" , SeverityNumValue : 2 },
110+ SeverityDetails : formats.SeverityDetails {Severity : "Low" , SeverityNumValue : 3 },
111111 ImpactedDependencyName : "Dep-2" ,
112112 },
113113 Cves : []formats.CveRow {{Id : "CVE-2023-3122" , Applicability : & formats.Applicability {Status : "Not Applicable" , ScannerDescription : "rule-msg" }}},
@@ -117,7 +117,7 @@ func TestScanResultsToIssuesCollection(t *testing.T) {
117117 {
118118 SeverityDetails : formats.SeverityDetails {
119119 Severity : "High" ,
120- SeverityNumValue : 21 ,
120+ SeverityNumValue : 26 ,
121121 },
122122 ScannerInfo : formats.ScannerInfo {
123123 ScannerDescription : "rule-msg" ,
@@ -138,7 +138,7 @@ func TestScanResultsToIssuesCollection(t *testing.T) {
138138 {
139139 SeverityDetails : formats.SeverityDetails {
140140 Severity : "High" ,
141- SeverityNumValue : 21 ,
141+ SeverityNumValue : 26 ,
142142 },
143143 ScannerInfo : formats.ScannerInfo {
144144 ScannerDescription : "rule-msg" ,
@@ -159,7 +159,7 @@ func TestScanResultsToIssuesCollection(t *testing.T) {
159159 {
160160 SeverityDetails : formats.SeverityDetails {
161161 Severity : "High" ,
162- SeverityNumValue : 21 ,
162+ SeverityNumValue : 26 ,
163163 },
164164 ScannerInfo : formats.ScannerInfo {
165165 ScannerDescription : "rule-msg" ,
@@ -183,7 +183,7 @@ func TestScanResultsToIssuesCollection(t *testing.T) {
183183 ImpactedDependencyDetails : formats.ImpactedDependencyDetails {
184184 SeverityDetails : formats.SeverityDetails {
185185 Severity : "Medium" ,
186- SeverityNumValue : 14 ,
186+ SeverityNumValue : 19 ,
187187 },
188188 ImpactedDependencyName : "Dep-1" ,
189189 },
0 commit comments