Commit b156af0
* Add initial fixed-affected-matching work #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Add Prefetch and univers-based version comparison #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update affected-fixed package matching #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Improve matching and reporting code and UI #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Add univers version, revise sort and related code, update and add new tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Move weakness test #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Modify UI, update dictionary and tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Begin replacing strings with objects in package details dictionary #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Clean current package details template and related model code #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Begin work on major-version issue #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Complete first round of major-version vetting #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Remove major-version code, clean comments etc. #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Begin test refactoring #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Finish package details code and template, refactor/create package-related tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Refactor package details-related code #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update Package details UI and Package API #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Fix 1 of 4 failing API tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Add initial fixed-affected-matching work #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Explore context and Package class approaches for affected-fixed package matching #1228
Reference: #1228
Note that my updated code is still in testing/dev stage and has not yet been completed or cleaned.
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Add Prefetch and univers-based version comparison #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update affected-fixed package matching #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Improve matching and reporting code and UI #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Add univers version, revise sort and related code, update and add new tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Begin work on major-version issue #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Complete first round of major-version vetting #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Remove major-version code, clean comments etc. #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Begin test refactoring #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Finish package details code and template, refactor/create package-related tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Commit the initial refactoring changes from last week #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Refactor package details-related code #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update Package details UI and Package API #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Save test experiments including commented-out variations #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Fix 1 of 4 failing API tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update API including "lesser" fixed by versions, fix and update failing tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update APITestCasePackage() class #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Test lack of "vulnerability" property #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update get_affected_vulnerabilities() and test #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update MinimalPackageSerializer() and missing-vulnerability-key test #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Append inside the if condition #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update get_vulnerability() method #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Enable test_models.py and fix failing tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Update per PR comments #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Convert Package method to PackageQuerySet method, clean code and tests #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
* Fix failing tests
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
* Add property on functions in models
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
* Add and fix tests, address other comments #1228
Reference: #1228
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
---------
Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Signed-off-by: John M. Horan johnmhoran@gmail.com
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Co-authored-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent d3f314d commit b156af0
11 files changed
Lines changed: 1335 additions & 204 deletions
File tree
- vulnerabilities
- templates
- tests
- vulnerablecode/static/css
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
51 | 70 | | |
52 | 71 | | |
53 | 72 | | |
54 | 73 | | |
55 | | - | |
| 74 | + | |
56 | 75 | | |
57 | 76 | | |
58 | 77 | | |
| |||
99 | 118 | | |
100 | 119 | | |
101 | 120 | | |
102 | | - | |
103 | 121 | | |
104 | 122 | | |
105 | 123 | | |
| |||
126 | 144 | | |
127 | 145 | | |
128 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
129 | 161 | | |
130 | 162 | | |
131 | 163 | | |
| |||
134 | 166 | | |
135 | 167 | | |
136 | 168 | | |
137 | | - | |
| 169 | + | |
138 | 170 | | |
139 | 171 | | |
140 | 172 | | |
| |||
149 | 181 | | |
150 | 182 | | |
151 | 183 | | |
152 | | - | |
| 184 | + | |
153 | 185 | | |
154 | 186 | | |
155 | 187 | | |
| |||
175 | 207 | | |
176 | 208 | | |
177 | 209 | | |
178 | | - | |
| 210 | + | |
| 211 | + | |
179 | 212 | | |
180 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
181 | 227 | | |
182 | 228 | | |
183 | 229 | | |
| |||
190 | 236 | | |
191 | 237 | | |
192 | 238 | | |
| 239 | + | |
| 240 | + | |
193 | 241 | | |
194 | 242 | | |
195 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| |||
404 | 413 | | |
405 | 414 | | |
406 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
407 | 434 | | |
408 | 435 | | |
409 | 436 | | |
| |||
601 | 628 | | |
602 | 629 | | |
603 | 630 | | |
604 | | - | |
605 | 631 | | |
606 | 632 | | |
607 | 633 | | |
| |||
642 | 668 | | |
643 | 669 | | |
644 | 670 | | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
645 | 809 | | |
646 | 810 | | |
647 | 811 | | |
| |||
0 commit comments