-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify UI, update dictionary and tests #1228
Reference: #1228 Signed-off-by: John M. Horan <[email protected]>
- Loading branch information
1 parent
f920ded
commit 40c1758
Showing
4 changed files
with
42 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,6 +218,7 @@ def test_get_vulnerable_packages(self): | |
{ | ||
"vulnerability": "VCID-123", | ||
"closest_fixed_by_purl": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"closest_fixed_by_version": "2.13.2", | ||
"closest_fixed_by_url": "/packages/pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"closest_fixed_by_vulnerabilities": [ | ||
{ | ||
|
@@ -229,13 +230,16 @@ def test_get_vulnerable_packages(self): | |
{ | ||
"vulnerability": "VCID-456", | ||
"closest_fixed_by_purl": "There are no reported fixed packages.", | ||
"closest_fixed_by_version": "", | ||
"closest_fixed_by_url": "", | ||
"closest_fixed_by_vulnerabilities": [], | ||
}, | ||
], | ||
"closest_non_vulnerable_fix": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"closest_non_vulnerable_fix_version": "", | ||
"closest_non_vulnerable_fix_url": "", | ||
"most_recent_non_vulnerable_fix": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"most_recent_non_vulnerable_fix_version": "", | ||
"most_recent_non_vulnerable_fix_url": "", | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters