Skip to content

Commit ea303c3

Browse files
authored
Merge branch 'editor-revision-2026-02-25' into valid-outlines-as-object-overviews
2 parents abfa1d6 + 15ca442 commit ea303c3

File tree

59 files changed

+2519
-299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2519
-299
lines changed

.github/workflows/csaf_2.1_filenames.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
run: ./csaf_2.1/test/filenames/run_tests.sh ./csaf_2.1/examples/csaf/*.json
2525
- name: Test filenames of CSAF examples - profile specific folders
2626
run: ./csaf_2.1/test/filenames/run_tests.sh ./csaf_2.1/examples/csaf/csaf_*/*.json
27+
- name: Test filenames of CSAF examples - appendix folders
28+
run: ./csaf_2.1/test/filenames/run_tests.sh ./csaf_2.1/examples/csaf/appendix/*.json
2729
- name: Test filenames of CSAF test files in validator/data/mandatory
2830
run: ./csaf_2.1/test/filenames/run_tests.sh ./csaf_2.1/test/validator/data/mandatory/*.json
2931
- name: Test filenames of CSAF test files in validator/data/recommended

.github/workflows/csaf_2.1_main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
run: ./csaf_2.1/test/csaf_schema/run_tests.sh
3333
- name: Test VEX examples against CSAF schema
3434
run: ./csaf_2.1/test/csaf_schema/run_tests.sh csaf_vex
35+
- name: Test Appendix examples against CSAF schema
36+
run: ./csaf_2.1/test/csaf_schema/run_tests.sh appendix
3537
- name: Test examples against Provider Metadata schema
3638
run: ./csaf_2.1/test/provider_schema/run_tests.sh
3739
- name: Test examples against Aggregator schema

.github/workflows/csaf_2.1_mandatory-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,12 @@ jobs:
3838
printf "%s%s\n" "Starting test of " $i
3939
../csaf-validator-lib/scripts/runTest.js -f $i -t base -c 2.1
4040
done
41+
# Commented out as not yet supported by the test tools
42+
# Only temporary until examples in the repo are reorganized
43+
#- name: Run mandatory tests on examples/appendix
44+
# run: |
45+
# for i in `ls -1 ../csaf/csaf_2.1/examples/csaf/appendix/*.json`
46+
# do
47+
# printf "%s%s\n" "Starting test of " $i
48+
# ../csaf-validator-lib/scripts/runTest.js -f $i -t base -c 2.1
49+
# done

csaf_2.0/known_issues.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@
3939
See [#1265](https://github.com/oasis-tcs/csaf/issues/1265).
4040
- Confusion could occur around the depth of PURL checking in test [6.1.13](https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#6113-purl).
4141
See [#1303](https://github.com/oasis-tcs/csaf/issues/1303).
42+
- The test [6.1.25](https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#6125-multiple-use-of-same-hash-algorithm)
43+
is missing the word "file" in the description and explanation but shows the correct relevant paths.
44+
See [#1330](https://github.com/oasis-tcs/csaf/issues/1330).
Lines changed: 266 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
{
2+
"$schema": "https://docs.oasis-open.org/csaf/csaf/v2.1/schema/csaf.json",
3+
"document": {
4+
"category": "csaf_base",
5+
"csaf_version": "2.1",
6+
"distribution": {
7+
"tlp": {
8+
"label": "CLEAR"
9+
}
10+
},
11+
"publisher": {
12+
"category": "other",
13+
"name": "OASIS CSAF TC",
14+
"namespace": "https://csaf.io"
15+
},
16+
"title": "Collapsing Product Paths (example 1)",
17+
"tracking": {
18+
"current_release_date": "2024-01-24T10:00:00.000Z",
19+
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-D-11",
20+
"initial_release_date": "2024-01-24T10:00:00.000Z",
21+
"revision_history": [
22+
{
23+
"date": "2024-01-24T10:00:00.000Z",
24+
"number": "1",
25+
"summary": "Initial version."
26+
}
27+
],
28+
"status": "final",
29+
"version": "1"
30+
}
31+
},
32+
"product_tree": {
33+
"branches": [
34+
{
35+
"branches": [
36+
{
37+
"branches": [
38+
{
39+
"category": "product_version",
40+
"name": "1.0.0",
41+
"product": {
42+
"name": "Example Company Product A 1.0.0",
43+
"product_id": "CSAFPID-908070601"
44+
}
45+
},
46+
{
47+
"category": "product_version",
48+
"name": "1.1.0",
49+
"product": {
50+
"name": "Example Company Product A 1.1.0",
51+
"product_id": "CSAFPID-908070602"
52+
}
53+
}
54+
],
55+
"category": "product_name",
56+
"name": "Product A"
57+
},
58+
{
59+
"branches": [
60+
{
61+
"category": "product_version",
62+
"name": "2023",
63+
"product": {
64+
"name": "Example Company Product B 2023",
65+
"product_id": "CSAFPID-908070603"
66+
}
67+
},
68+
{
69+
"category": "product_version",
70+
"name": "2024",
71+
"product": {
72+
"name": "Example Company Product B 2024",
73+
"product_id": "CSAFPID-908070604"
74+
}
75+
}
76+
],
77+
"category": "product_name",
78+
"name": "Product B"
79+
},
80+
{
81+
"branches": [
82+
{
83+
"category": "product_version",
84+
"name": "EU",
85+
"product": {
86+
"name": "Example Company Product C EU",
87+
"product_id": "CSAFPID-908070605"
88+
}
89+
},
90+
{
91+
"category": "product_version",
92+
"name": "US",
93+
"product": {
94+
"name": "Example Company Product C US",
95+
"product_id": "CSAFPID-908070606"
96+
}
97+
}
98+
],
99+
"category": "product_name",
100+
"name": "Product C"
101+
}
102+
],
103+
"category": "vendor",
104+
"name": "Example Company"
105+
}
106+
],
107+
"product_paths": [
108+
{
109+
"beginning_product_reference": "CSAFPID-908070601",
110+
"full_product_name": {
111+
"name": "Example Company Product A 1.0.0 installed on Example Company Product B 2023",
112+
"product_id": "CSAFPID-908070607"
113+
},
114+
"subpaths": [
115+
{
116+
"category": "installed_on",
117+
"next_product_reference": "CSAFPID-908070603"
118+
}
119+
]
120+
},
121+
{
122+
"beginning_product_reference": "CSAFPID-908070601",
123+
"full_product_name": {
124+
"name": "Example Company Product A 1.0.0 installed on Example Company Product B 2024",
125+
"product_id": "CSAFPID-908070608"
126+
},
127+
"subpaths": [
128+
{
129+
"category": "installed_on",
130+
"next_product_reference": "CSAFPID-908070604"
131+
}
132+
]
133+
},
134+
{
135+
"beginning_product_reference": "CSAFPID-908070602",
136+
"full_product_name": {
137+
"name": "Example Company Product A 1.1.0 installed on Example Company Product B 2023",
138+
"product_id": "CSAFPID-908070609"
139+
},
140+
"subpaths": [
141+
{
142+
"category": "installed_on",
143+
"next_product_reference": "CSAFPID-908070603"
144+
}
145+
]
146+
},
147+
{
148+
"beginning_product_reference": "CSAFPID-908070602",
149+
"full_product_name": {
150+
"name": "Example Company Product A 1.1.0 installed on Example Company Product B 2024",
151+
"product_id": "CSAFPID-908070610"
152+
},
153+
"subpaths": [
154+
{
155+
"category": "installed_on",
156+
"next_product_reference": "CSAFPID-908070604"
157+
}
158+
]
159+
},
160+
{
161+
"beginning_product_reference": "CSAFPID-908070607",
162+
"full_product_name": {
163+
"name": "Example Company Product A 1.0.0 installed on Example Company Product B 2023 installed on Example Company Product C EU",
164+
"product_id": "CSAFPID-908070611"
165+
},
166+
"subpaths": [
167+
{
168+
"category": "installed_on",
169+
"next_product_reference": "CSAFPID-908070605"
170+
}
171+
]
172+
},
173+
{
174+
"beginning_product_reference": "CSAFPID-908070607",
175+
"full_product_name": {
176+
"name": "Example Company Product A 1.0.0 installed on Example Company Product B 2023 installed on Example Company Product C US",
177+
"product_id": "CSAFPID-908070612"
178+
},
179+
"subpaths": [
180+
{
181+
"category": "installed_on",
182+
"next_product_reference": "CSAFPID-908070606"
183+
}
184+
]
185+
},
186+
{
187+
"beginning_product_reference": "CSAFPID-908070608",
188+
"full_product_name": {
189+
"name": "Example Company Product A 1.0.0 installed on Example Company Product B 2024 installed on Example Company Product C EU",
190+
"product_id": "CSAFPID-908070613"
191+
},
192+
"subpaths": [
193+
{
194+
"category": "installed_on",
195+
"next_product_reference": "CSAFPID-908070605"
196+
}
197+
]
198+
},
199+
{
200+
"beginning_product_reference": "CSAFPID-908070608",
201+
"full_product_name": {
202+
"name": "Example Company Product A 1.0.0 installed on Example Company Product B 2024 installed on Example Company Product C US",
203+
"product_id": "CSAFPID-908070614"
204+
},
205+
"subpaths": [
206+
{
207+
"category": "installed_on",
208+
"next_product_reference": "CSAFPID-908070606"
209+
}
210+
]
211+
},
212+
{
213+
"beginning_product_reference": "CSAFPID-908070609",
214+
"full_product_name": {
215+
"name": "Example Company Product A 1.1.0 installed on Example Company Product B 2023 installed on Example Company Product C EU",
216+
"product_id": "CSAFPID-908070615"
217+
},
218+
"subpaths": [
219+
{
220+
"category": "installed_on",
221+
"next_product_reference": "CSAFPID-908070605"
222+
}
223+
]
224+
},
225+
{
226+
"beginning_product_reference": "CSAFPID-908070609",
227+
"full_product_name": {
228+
"name": "Example Company Product A 1.1.0 installed on Example Company Product B 2023 installed on Example Company Product C US",
229+
"product_id": "CSAFPID-908070616"
230+
},
231+
"subpaths": [
232+
{
233+
"category": "installed_on",
234+
"next_product_reference": "CSAFPID-908070606"
235+
}
236+
]
237+
},
238+
{
239+
"beginning_product_reference": "CSAFPID-908070610",
240+
"full_product_name": {
241+
"name": "Example Company Product A 1.1.0 installed on Example Company Product B 2024 installed on Example Company Product C EU",
242+
"product_id": "CSAFPID-908070617"
243+
},
244+
"subpaths": [
245+
{
246+
"category": "installed_on",
247+
"next_product_reference": "CSAFPID-908070605"
248+
}
249+
]
250+
},
251+
{
252+
"beginning_product_reference": "CSAFPID-908070610",
253+
"full_product_name": {
254+
"name": "Example Company Product A 1.1.0 installed on Example Company Product B 2024 installed on Example Company Product C US",
255+
"product_id": "CSAFPID-908070618"
256+
},
257+
"subpaths": [
258+
{
259+
"category": "installed_on",
260+
"next_product_reference": "CSAFPID-908070606"
261+
}
262+
]
263+
}
264+
]
265+
}
266+
}

0 commit comments

Comments
 (0)