-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathopenapi.yaml
More file actions
1691 lines (1670 loc) · 58.5 KB
/
openapi.yaml
File metadata and controls
1691 lines (1670 loc) · 58.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
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
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
open# $schema: https://spec.openapis.org/oas/3.1/schema-base/2025-02-13
openapi: 3.1.1
jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base
info:
title: Transparency Exchange API
summary: The OWASP Transparency Exchange API specification for consumers and publishers
description: TBC
contact:
name: TEA Working Group
email: tbc@somewhere.tld
url: https://github.com/CycloneDX/transparency-exchange-api
license:
name: Apache 2.0
url: https://github.com/CycloneDX/transparency-exchange-api/blob/main/LICENSE
version: 0.4.0
servers:
- url: http://localhost/tea/v1
description: Local development
paths:
/product/{uuid}:
get:
description: Get a TEA Product by UUID
operationId: getTeaProductByUuid
parameters:
- name: uuid
in: path
required: true
description: UUID of the TEA product in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Product found and returned
content:
application/json:
schema:
$ref: "#/components/schemas/product"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Product
/product/{uuid}/releases:
get:
description: Get releases of the product
operationId: getReleasesByProductId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
- $ref: "#/components/parameters/page-offset"
- $ref: "#/components/parameters/page-size"
responses:
'200':
$ref: "#/components/responses/paginated-product-release"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Product Release
/productRelease/{uuid}:
get:
description: Get a TEA Product Release
operationId: getTeaProductReleaseByUuid
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Product Release found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/productRelease"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Product Release
/productRelease/{uuid}/cle:
get:
description: Get the CLE (Common Lifecycle Enumeration) data for a TEA Product Release
operationId: getCleByProductReleaseId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: CLE data for the requested TEA Product Release found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/cle"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- CLE
/productReleases:
get:
description: Returns a list of TEA product releases. Note that multiple product releases may match.
operationId: queryTeaProductReleases
parameters:
- $ref: "#/components/parameters/page-offset"
- $ref: "#/components/parameters/page-size"
- $ref: "#/components/parameters/id-type"
- $ref: "#/components/parameters/id-value"
responses:
'200':
$ref: "#/components/responses/paginated-product-release"
'400':
$ref: "#/components/responses/400-invalid-request"
tags:
- TEA Product Release
/product/{uuid}/cle:
get:
description: Get the CLE (Common Lifecycle Enumeration) data for a TEA Product
operationId: getCleByProductId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: CLE data for the requested TEA Product found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/cle"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- CLE
/products:
get:
description: Returns a list of TEA products. Note that multiple products may
match.
operationId: queryTeaProducts
parameters:
- $ref: "#/components/parameters/page-size"
- $ref: "#/components/parameters/page-token"
- $ref: "#/components/parameters/sort-field-product"
- $ref: "#/components/parameters/sort-order"
responses:
'200':
$ref: "#/components/responses/paginated-product"
'400':
$ref: "#/components/responses/400-invalid-request"
tags:
- TEA Product
/component/{uuid}:
get:
description: Get a TEA Component
operationId: getTeaComponentById
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Component found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/component"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component
/component/{uuid}/releases:
get:
description: Get releases of the component
operationId: getReleasesByComponentId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested Releases of TEA Component found and returned
content:
application/json:
schema:
type: array
items:
"$ref": "#/components/schemas/release"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component
/component/{uuid}/cle:
get:
description: Get the CLE (Common Lifecycle Enumeration) data for a TEA Component
operationId: getCleByComponentId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: CLE data for the requested TEA Component found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/cle"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- CLE
/components:
get:
description: Returns a list of TEA components. Note that multiple components may match.
operationId: queryTeaComponents
parameters:
- $ref: "#/components/parameters/page-offset"
- $ref: "#/components/parameters/page-size"
- $ref: "#/components/parameters/id-type"
- $ref: "#/components/parameters/id-value"
responses:
'200':
$ref: "#/components/responses/paginated-component"
'400':
$ref: "#/components/responses/400-invalid-request"
tags:
- TEA Component
/componentReleases:
get:
description: Returns a list of TEA component releases. Note that multiple component releases may match.
operationId: queryTeaComponentReleases
parameters:
- $ref: "#/components/parameters/page-offset"
- $ref: "#/components/parameters/page-size"
- $ref: "#/components/parameters/id-type"
- $ref: "#/components/parameters/id-value"
responses:
'200':
$ref: "#/components/responses/paginated-component-release"
'400':
$ref: "#/components/responses/400-invalid-request"
tags:
- TEA Component Release
/componentRelease/{uuid}:
get:
description: Get the TEA Component Release with its latest collection
operationId: getComponentReleaseById
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Component Release and its latest Collection found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/component-release-with-collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component Release
/componentRelease/{uuid}/cle:
get:
description: Get the CLE (Common Lifecycle Enumeration) data for a TEA Component Release
operationId: getCleByComponentReleaseId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: CLE data for the requested TEA Component Release found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/cle"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- CLE
/componentRelease/{uuid}/collection/latest:
get:
description: Get the latest TEA Collection belonging to the TEA Component Release
operationId: getLatestCollection
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Collection found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component Release
/productRelease/{uuid}/collection/latest:
get:
description: Get the latest TEA Collection belonging to the TEA Product Release
operationId: getLatestCollectionForProductRelease
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Collection found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Product Release
/componentRelease/{uuid}/collections:
get:
description: Get the TEA Collections belonging to the TEA Component Release
operationId: getCollectionsByReleaseId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Component Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Collection found and returned
content:
application/json:
schema:
type: array
items:
"$ref": "#/components/schemas/collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component Release
/productRelease/{uuid}/collections:
get:
description: Get the TEA Collections belonging to the TEA Product Release
operationId: getCollectionsByProductReleaseId
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Collection found and returned
content:
application/json:
schema:
type: array
items:
"$ref": "#/components/schemas/collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Product Release
/productRelease/{uuid}/collection/{collectionVersion}:
get:
description: Get a specific Collection (by version) for a TEA Product Release by its UUID
operationId: getCollectionForProductRelease
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Product Release in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
- name: collectionVersion
in: path
required: true
description: Version of TEA Collection
schema:
type: integer
responses:
'200':
description: Requested TEA Collection Version found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Product Release
/componentRelease/{uuid}/collection/{collectionVersion}:
get:
description: Get a specific Collection (by version) for a TEA Component Release by its UUID
operationId: getCollection
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Collection in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
- name: collectionVersion
in: path
required: true
description: Version of TEA Collection
schema:
type: integer
responses:
'200':
description: Requested TEA Collection Version found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/collection"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component Release
/artifact/{uuid}/latest:
get:
description: Get metadata for latest revision of a specific TEA Artifact
operationId: getLatestArtifact
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Artifact in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
responses:
'200':
description: Requested TEA Artifact metadata found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/artifact"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Artifact
/artifact/{uuid}/{artifactVersion}:
get:
description: Get metadata for a specific revision of a specific TEA Artifact
operationId: getArtifactByVersion
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Artifact in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
- name: artifactVersion
in: path
required: true
description: Version of TEA Artifact
schema:
type: integer
responses:
'200':
description: Requested TEA Artifact metadata found and returned
content:
application/json:
schema:
"$ref": "#/components/schemas/artifact"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Artifact
/discovery:
get:
description: Discovery endpoint which resolves TEI into product release UUID.
operationId: discoveryByTei
parameters:
- name: tei
in: query
required: true
description: Transparency Exchange Identifier (TEI) for the product being discovered. Provide the TEI as a URL-encoded string per RFC 3986, RFC 3987.
schema:
type: string
example: urn%3Atei%3Auuid%3Aproducts.example.com%3Ad4d9f54a-abcf-11ee-ac79-1a52914d44b
responses:
'200':
$ref: "#/components/responses/discovery-response"
'400':
$ref: "#/components/responses/400-invalid-request"
'404':
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Discovery
components:
schemas:
#
# Definitions reused in multiple domain objects
#
date-time:
type: string
description: Timestamp
format: date-time
pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
example: '2024-03-20T15:30:00Z'
identifier:
type: object
description: An identifier with a specified type
properties:
idType:
description: Type of identifier, e.g. `TEI`, `PURL`, `CPE`
"$ref": "#/components/schemas/identifier-type"
idValue:
description: Identifier value
type: string
identifier-type:
type: string
description: Enumeration of identifiers types
enum:
- CPE
- TEI
- PURL
- COMPLIANCE_DOCUMENT
compliance-document-type:
type: string
description: >
Well-known compliance document types. When idType is COMPLIANCE_DOCUMENT,
the idValue SHOULD be one of these values.
enum:
- SOC_2_TYPE_I
- SOC_2_TYPE_II
- SOC_3
- ISO_27001
- ISO_27017
- ISO_27018
- ISO_27701
- ISO_42001
- PCI_DSS
- HIPAA
- FedRAMP
- GDPR
- CSA_STAR
- NIST_800_53
- NIST_800_171
- CMMC
- HITRUST
- TISAX
- CYBER_ESSENTIALS
- CYBER_ESSENTIALS_PLUS
uuid:
type: string
description: A UUID
format: uuid
pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
#
# TEA Product
#
product:
type: object
description: A TEA product
properties:
uuid:
description: A unique identifier for the TEA product
"$ref": "#/components/schemas/uuid"
name:
type: string
description: Product name
identifiers:
type: array
description: |
List of identifiers for the product, like TEI, CPE, PURL or other identifiers
items:
"$ref": "#/components/schemas/identifier"
required:
- uuid
- name
- identifiers
examples:
- uuid: 09e8c73b-ac45-4475-acac-33e6a7314e6d
name: Apache Log4j 2
identifiers:
- idType: CPE
idValue: cpe:2.3:a:apache:log4j
- idType: PURL
idValue: pkg:maven/org.apache.logging.log4j/log4j-api
#
# TEA Product Release
#
productRelease:
type: object
description: A specific release of a TEA product
properties:
uuid:
description: A unique identifier for the TEA Product Release
"$ref": "#/components/schemas/uuid"
product:
description: UUID of the TEA Product this release belongs to
"$ref": "#/components/schemas/uuid"
productName:
description: Name of the TEA Product this release belongs to
type: string
example: Apache Log4j 2
version:
description: Version number of the product release
type: string
example: 2.24.3
createdDate:
description: Timestamp when this Product Release was created in TEA (for sorting purposes)
"$ref": "#/components/schemas/date-time"
releaseDate:
description: Timestamp of the product release
"$ref": "#/components/schemas/date-time"
preRelease:
type: boolean
description: |
A flag indicating pre-release (or beta) status.
May be disabled after the creation of the release object, but can't be enabled after creation of an object.
identifiers:
type: array
description: List of identifiers for the product release
items:
"$ref": "#/components/schemas/identifier"
components:
type: array
description: |
List of component references that compose this product release. A component reference can optionally include
the UUID of a specific component release to pin the exact version.
items:
"$ref": "#/components/schemas/component-ref"
required:
- uuid
- version
- createdDate
- components
examples:
- uuid: 123e4567-e89b-12d3-a456-426614174000
version: "2.24.3"
createdDate: 2025-04-01T15:43:00Z
releaseDate: 2025-04-01T15:43:00Z
identifiers:
- idType: TEI
idValue: tei:vendor:product@2.24.3
components:
- uuid: 3910e0fd-aff4-48d6-b75f-8bf6b84687f0
- uuid: b844c9bd-55d6-478c-af59-954a932b6ad3
release: da89e38e-95e7-44ca-aa7d-f3b6b34c7fab
#
# TEA Component and related objects
#
component:
type: object
description: A TEA component
properties:
uuid:
description: A unique identifier for the TEA component
"$ref": "#/components/schemas/uuid"
name:
type: string
description: Component name
identifiers:
type: array
description: List of identifiers for the component
items:
"$ref": "#/components/schemas/identifier"
required:
- uuid
- name
- identifiers
examples:
- uuid: 3910e0fd-aff4-48d6-b75f-8bf6b84687f0
name: Apache Log4j API
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.logging.log4j/log4j-api
- uuid: b844c9bd-55d6-478c-af59-954a932b6ad3
name: Apache Log4j Core
identifiers:
- idType: CPE
idValue: cpe:2.3:a:apache:log4j
- idType: PURL
idValue: pkg:maven/org.apache.logging.log4j/log4j-core
#
# Reference to a component, in some cases directly to a specific release
#
# The release reference (release UUID) is only used in cases where a product
# name includes a version and this version of the product always includes
# the same releases of the component.
component-ref:
type: object
description: A reference to a TEA component or specific component release
properties:
uuid:
description: A unique identifier for the TEA component
"$ref": "#/components/schemas/uuid"
release:
description: |
Optional UUID of a specific release included in the product in the case where the product
always include a specific release of a component. The product name should include a version
identifier in this case.
"$ref": "#/components/schemas/uuid"
required:
- uuid
#
# TEA Component Release and related objects
#
release:
type: object
description: A TEA Component Release
properties:
uuid:
description: A unique identifier for the TEA Component Release
"$ref": "#/components/schemas/uuid"
component:
description: UUID of the TEA Component this release belongs to
"$ref": "#/components/schemas/uuid"
componentName:
description: Name of the TEA Component this release belongs to
type: string
example: tomcat
version:
description: Version number
type: string
example: 1.2.3
createdDate:
description: Timestamp when this Release was created in TEA (for sorting purposes)
"$ref": "#/components/schemas/date-time"
releaseDate:
description: Timestamp of the release
"$ref": "#/components/schemas/date-time"
preRelease:
type: boolean
description: |
A flag indicating pre-release (or beta) status.
May be disabled after the creation of the release object, but can't be enabled after creation of an object.
identifiers:
type: array
description: List of identifiers for the component
items:
"$ref": "#/components/schemas/identifier"
distributions:
type: array
description: List of different formats of this component release
items:
"$ref": "#/components/schemas/release-distribution"
required:
- uuid
- version
- createdDate
examples:
# Apache Tomcat 11.0.7
- uuid: 605d0ecb-1057-40e4-9abf-c400b10f0345
version: "11.0.7"
createdDate: 2025-05-07T18:08:00Z
releaseDate: 2025-05-12T18:08:00Z
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.7
distributions:
- distributionId: 6a0d58e1-4896-4f1e-83f7-5feb6c032537
description: Core binary distribution, zip archive
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6?type=zip
checksums:
- algType: SHA_256
algValue: 9da736a1cdd27231e70187cbc67398d29ca0b714f885e7032da9f1fb247693c1
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip
signatureUrl: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
- distributionId: dba01c13-dd96-4928-be72-9c87ffa8cab8
description: Core binary distribution, tar.gz archive
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6?type=tar.gz
checksums:
- algType: SHA_256
algValue: 2fcece641c62ba1f28e1d7b257493151fc44f161fb391015ee6a95fa71632fb9
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz
signatureUrl: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz.asc
- distributionId: cfe068c2-fae7-43d0-97ec-5ea092454040
description: Core binary distribution, Windows x64 zip archive
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6?classifier=windows-x64&type=zip
checksums:
- algType: SHA_256
algValue: 62a5c358d87a8ef21d7ec1b3b63c9bbb577453dda9c00cbb522b16cee6c23fc4
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6-windows-x64.zip
signatureUrl: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
- distributionId: de45ffaf-e4b5-47b5-be28-444a76df098e
description: Core binary distribution, Windows Service Installer (MSI)
checksums:
- algType: SHA_512
algValue: 1d3824e7643c8aba455ab0bd9e67b14a60f2aaa6aa7775116bce40eb0579e8ced162a4f828051d3b867e96ee2858ec5da0cc654e83a83ba30823cbea0df4ff96
url: https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.7/bin/apache-tomcat-11.0.7.exe
signatureUrl: https://downloads.apache.org/tomcat/tomcat-11/v11.0.7/bin/apache-tomcat-11.0.7.exe.asc
# A pre-release of Apache Tomcat
- uuid: 95f481df-f760-47f4-b2f2-f8b76d858450
version: "11.0.0-M26"
createdDate: 2024-09-13T17:49:00Z
preRelease: true
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.0-M26
release-distribution:
type: object
properties:
distributionId:
description: A unique identifier for the TEA Distribution object
"$ref": "#/components/schemas/uuid"
description:
type: string
description: Free-text description of the distribution.
identifiers:
type: array
description: List of identifiers specific to this distribution.
items:
$ref: "#/components/schemas/identifier"
url:
type: string
description: Direct download URL for the distribution.
format: url
signatureUrl:
type: string
description: Direct download URL for the distribution's external signature.
format: url
checksums:
type: array
description: List of checksums for the distribution.
items:
"$ref": "#/components/schemas/checksum"
required:
- distributionId
examples:
- distributionId: 6a0d58e1-4896-4f1e-83f7-5feb6c032537
description: Core binary distribution, zip archive
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6?type=zip
checksums:
- algType: SHA_256
algValue: 9da736a1cdd27231e70187cbc67398d29ca0b714f885e7032da9f1fb247693c1
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip
signatureUrl: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
- distributionId: dba01c13-dd96-4928-be72-9c87ffa8cab8
description: Core binary distribution, tar.gz archive
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6?type=tar.gz
checksums:
- algType: SHA_256
algValue: 2fcece641c62ba1f28e1d7b257493151fc44f161fb391015ee6a95fa71632fb9
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz
signatureUrl: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.tar.gz.asc
- distributionId: cfe068c2-fae7-43d0-97ec-5ea092454040
description: Core binary distribution, Windows x64 zip archive
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6?classifier=windows-x64&type=zip
checksums:
- algType: SHA_256
algValue: 62a5c358d87a8ef21d7ec1b3b63c9bbb577453dda9c00cbb522b16cee6c23fc4
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6-windows-x64.zip
signatureUrl: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.6.zip.asc
- distributionId: de45ffaf-e4b5-47b5-be28-444a76df098e
description: Core binary distribution, Windows Service Installer (MSI)
checksums:
- algType: SHA_512
algValue: 1d3824e7643c8aba455ab0bd9e67b14a60f2aaa6aa7775116bce40eb0579e8ced162a4f828051d3b867e96ee2858ec5da0cc654e83a83ba30823cbea0df4ff96
url: https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.7/bin/apache-tomcat-11.0.7.exe
signatureUrl: https://downloads.apache.org/tomcat/tomcat-11/v11.0.7/bin/apache-tomcat-11.0.7.exe.asc
component-release-with-collection:
type: object
description: A TEA Component Release combined with its latest collection
properties:
release:
description: The TEA Component Release information
$ref: "#/components/schemas/release"
latestCollection:
description: The latest TEA Collection for this component release
$ref: "#/components/schemas/collection"
required:
- release
- latestCollection
examples:
- release:
uuid: 605d0ecb-1057-40e4-9abf-c400b10f0345
version: "11.0.7"
createdDate: 2025-05-07T18:08:00Z
releaseDate: 2025-05-12T18:08:00Z
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.7
latestCollection:
uuid: 605d0ecb-1057-40e4-9abf-c400b10f0345
version: 2
date: 2025-05-12T18:08:00Z
belongsTo: COMPONENT_RELEASE
updateReason:
type: INITIAL_RELEASE
comment: Initial collection for this release
artifacts:
- uuid: 1cb47b95-8bf8-3bad-a5a4-0d54d86e10ce
name: Build SBOM
type: BOM
formats:
- mediaType: application/vnd.cyclonedx+xml
description: CycloneDX SBOM (XML)
url: https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.7-cyclonedx.xml
checksums:
- algType: SHA-256
algValue: 9da736a1cdd27231e70187cbc67398d29ca0b714f885e7032da9f1fb247693c1
- uuid: dfa35519-9734-4259-bba1-3e825cf4be06
name: Vulnerability Disclosure Report
type: VULNERABILITIES
formats:
- mediaType: application/vnd.cyclonedx+xml
description: CycloneDX VDR (XML)
url: https://tomcat.apache.org/cyclonedx/vdr.xml
checksums:
- algType: SHA-256
algValue: 75b81020b3917cb682b1a7605ade431e062f7a4c01a412f0b87543b6e995ad2a
#
# TEA Collection and related objects
#
collection:
type: object
description: A collection of security-related documents