Commit b213b8d
authored
CBOM 1.7: Update test cases & a few schema fixes/extensions (#661)
Update schema test cases and fix validation issues for 1.7 CBOM.
This PR addresses two schema validation issues discovered while running
ajv on the test cases:
- ikev2TransformTypes: The array items were missing type definitions.
This has been corrected.
- certificateExtensions: The oneOf clause defined two objects
(commonExtensions and customExtensions) with overlapping property names,
which caused validation errors. The property names have been made unique
within each object to resolve this.
Additionally, two new properties have been added to
cryptoProperties.cipherSuites to support more precise TLS
configurations: tlsGroups and tlsSignatureSchemes.
<!--
Thank you for taking the time to develop and contribute a core
enhancement or fix for a defect!
We kindly request that you create pull requests only for things that
have been discussed in a ticket first; exceptions may be made for
spelling or grammar fixes.
Read more about the process here:
https://cyclonedx.org/participate/standardization-process/#working-model
Please have the related ticket/issue ID ready.
If there is none, feel free to create a new ticket:
https://github.com/CycloneDX/specification/issues/new/choose
-->
<!--
Please provide a brief description of what this pull request intends to
do and which ticket it fixes/closes.
Example:
> As discussed in ticket #485, this PR adds Streebog to the hash
algorithm enum.
>
> fixes #485
In case this is for a spelling or grammar improvement, please provide a
brief description.
Example:
> Fixe typo: color(AE) -> colour(BE)
-->File tree
6 files changed
+894
-71
lines changed- schema
- tools/src/test/resources/1.7
6 files changed
+894
-71
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5474 | 5474 | | |
5475 | 5475 | | |
5476 | 5476 | | |
5477 | | - | |
| 5477 | + | |
5478 | 5478 | | |
5479 | 5479 | | |
5480 | 5480 | | |
| |||
5536 | 5536 | | |
5537 | 5537 | | |
5538 | 5538 | | |
5539 | | - | |
5540 | | - | |
| 5539 | + | |
| 5540 | + | |
5541 | 5541 | | |
5542 | 5542 | | |
5543 | 5543 | | |
5544 | | - | |
| 5544 | + | |
5545 | 5545 | | |
5546 | 5546 | | |
5547 | 5547 | | |
| |||
5570 | 5570 | | |
5571 | 5571 | | |
5572 | 5572 | | |
5573 | | - | |
| 5573 | + | |
5574 | 5574 | | |
5575 | 5575 | | |
5576 | 5576 | | |
| |||
5581 | 5581 | | |
5582 | 5582 | | |
5583 | 5583 | | |
5584 | | - | |
| 5584 | + | |
5585 | 5585 | | |
5586 | 5586 | | |
5587 | 5587 | | |
5588 | | - | |
| 5588 | + | |
5589 | 5589 | | |
5590 | 5590 | | |
5591 | 5591 | | |
5592 | 5592 | | |
5593 | | - | |
| 5593 | + | |
5594 | 5594 | | |
5595 | 5595 | | |
5596 | 5596 | | |
| |||
5760 | 5760 | | |
5761 | 5761 | | |
5762 | 5762 | | |
| 5763 | + | |
| 5764 | + | |
| 5765 | + | |
| 5766 | + | |
| 5767 | + | |
5763 | 5768 | | |
5764 | 5769 | | |
5765 | 5770 | | |
| |||
5772 | 5777 | | |
5773 | 5778 | | |
5774 | 5779 | | |
| 5780 | + | |
| 5781 | + | |
| 5782 | + | |
| 5783 | + | |
| 5784 | + | |
5775 | 5785 | | |
5776 | 5786 | | |
5777 | 5787 | | |
| |||
5803 | 5813 | | |
5804 | 5814 | | |
5805 | 5815 | | |
5806 | | - | |
5807 | 5816 | | |
5808 | | - | |
5809 | | - | |
| 5817 | + | |
| 5818 | + | |
| 5819 | + | |
| 5820 | + | |
| 5821 | + | |
| 5822 | + | |
5810 | 5823 | | |
5811 | 5824 | | |
5812 | | - | |
5813 | 5825 | | |
5814 | | - | |
| 5826 | + | |
| 5827 | + | |
| 5828 | + | |
| 5829 | + | |
| 5830 | + | |
5815 | 5831 | | |
5816 | 5832 | | |
5817 | 5833 | | |
5818 | | - | |
5819 | 5834 | | |
5820 | | - | |
| 5835 | + | |
| 5836 | + | |
| 5837 | + | |
| 5838 | + | |
| 5839 | + | |
5821 | 5840 | | |
5822 | 5841 | | |
5823 | 5842 | | |
5824 | | - | |
5825 | 5843 | | |
5826 | | - | |
| 5844 | + | |
| 5845 | + | |
| 5846 | + | |
| 5847 | + | |
| 5848 | + | |
5827 | 5849 | | |
5828 | 5850 | | |
5829 | 5851 | | |
| |||
5832 | 5854 | | |
5833 | 5855 | | |
5834 | 5856 | | |
5835 | | - | |
5836 | 5857 | | |
5837 | | - | |
| 5858 | + | |
| 5859 | + | |
| 5860 | + | |
| 5861 | + | |
| 5862 | + | |
5838 | 5863 | | |
5839 | 5864 | | |
5840 | 5865 | | |
| |||
5895 | 5920 | | |
5896 | 5921 | | |
5897 | 5922 | | |
| 5923 | + | |
| 5924 | + | |
| 5925 | + | |
| 5926 | + | |
| 5927 | + | |
| 5928 | + | |
| 5929 | + | |
| 5930 | + | |
| 5931 | + | |
| 5932 | + | |
| 5933 | + | |
| 5934 | + | |
| 5935 | + | |
| 5936 | + | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
| 5942 | + | |
| 5943 | + | |
| 5944 | + | |
| 5945 | + | |
| 5946 | + | |
| 5947 | + | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
| 5951 | + | |
5898 | 5952 | | |
5899 | 5953 | | |
5900 | 5954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
726 | 730 | | |
727 | 731 | | |
728 | 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 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
729 | 813 | | |
730 | 814 | | |
731 | 815 | | |
| |||
0 commit comments