Commit ec69956
committed
fix(vulnerability): use VendorSeverity fallback before returning UNKNOWN
When neither the data source nor NVD have a severity entry,
iterate VendorSeverity in AllSourceIDs priority order to find
any available source. This ensures SeveritySource is set whenever
vendor data is available, instead of silently returning severity
from the top-level Severity field with an empty SeveritySource.1 parent 026b599 commit ec69956
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
167 | 172 | | |
168 | 173 | | |
169 | | - | |
170 | | - | |
| 174 | + | |
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
| |||
0 commit comments