Skip to content

Commit 09fc842

Browse files
authored
Merge pull request #221 from ppkarwasz/feat/artifact-date
Add `date` field to TEA Artifact
2 parents 18c2421 + a08898f commit 09fc842

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

spec/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,9 @@ components:
10701070
type:
10711071
description: Type of TEA Artifact
10721072
"$ref": "#/components/schemas/artifact-type"
1073+
createdDate:
1074+
description: The date when the TEA Artifact revision was created.
1075+
"$ref": "#/components/schemas/date-time"
10731076
distributionIds:
10741077
type: array
10751078
description: |

tea-collection/tea-collection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ A TEA Artifact object contains the following fields:
345345
- __uuid__: The UUID of the TEA Artefact object. This uniquely identifies the TEA Artifact.
346346
- __name__: A human-readable name for the artefact.
347347
- __type__: The type of artefact. See [TEA Artifact types](#tea-artefact-types) for allowed values (e.g., `BOM`, `VULNERABILITIES`, `LICENSE`).
348+
- __createdDate__: The date and time the TEA Artefact revision was created.
348349
- __componentDistributions__ (optional):
349350
An array of `distributionType` identifiers indicating which distributions this TEA Artifact applies to.
350351
If omitted, the TEA Artifact applies to all distributions.

0 commit comments

Comments
 (0)