Open tschmidtb51 opened 1 year ago
The TC should decide whether this should be a formal (section 5) or informal requirement (Appendix C) as well as whether it is a "SHOULD" or a "MUST" requirement.
Checklist:
[x] add text to appropriate place
[x] add test files
[ ] Add to guidance for CSAF 2.0
As we have currently 13 branch categories, I suggest 30 as limit and the following wording in the formal part:
The /product_tree
uses a nested structure for branches
. Along a single path to a leaf, the recursion of branches
is limited to 30 repetitions. Therefore, the longest path to a leaf is:
/product_tree/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/branches[]/product
I remember that we discussed a recursion depth of 25 nested
branches
within a/product_tree
. However, I didn't see it in the standard (or I overlooked it). I think that might be a valuable addition to the guidance - especially for a future API.