Skip to content

Commit 4fb437a

Browse files
carlosthe19916github-merge-queue[bot]kahboom
authored
update client/openapi/trustd.yaml (#218)
Signed-off-by: GitHub <[email protected]> Co-authored-by: github-merge-queue[bot] <github-merge-queue[bot]@users.noreply.github.com> Co-authored-by: kahboom <[email protected]>
1 parent f0b6020 commit 4fb437a

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

client/openapi/trustd.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -3630,6 +3630,7 @@ components:
36303630
- identifier
36313631
- title
36323632
- description
3633+
- reserved
36333634
- published
36343635
- modified
36353636
- withdrawn
@@ -3679,6 +3680,12 @@ components:
36793680
- 'null'
36803681
format: date-time
36813682
description: The date (in RFC3339 format) of when software containing the vulnerability first released, if known.
3683+
reserved:
3684+
type:
3685+
- string
3686+
- 'null'
3687+
format: date-time
3688+
description: The date (in RFC3339 format) of when the vulnerability identifier was reserved, if any.
36823689
title:
36833690
type:
36843691
- string

client/src/app/client/schemas.gen.ts

+7
Original file line numberDiff line numberDiff line change
@@ -2383,6 +2383,7 @@ export const VulnerabilityHeadSchema = {
23832383
"identifier",
23842384
"title",
23852385
"description",
2386+
"reserved",
23862387
"published",
23872388
"modified",
23882389
"withdrawn",
@@ -2435,6 +2436,12 @@ CVE identifier.`,
24352436
description:
24362437
"The date (in RFC3339 format) of when software containing the vulnerability first released, if known.",
24372438
},
2439+
reserved: {
2440+
type: ["string", "null"],
2441+
format: "date-time",
2442+
description:
2443+
"The date (in RFC3339 format) of when the vulnerability identifier was reserved, if any.",
2444+
},
24382445
title: {
24392446
type: ["string", "null"],
24402447
description: "The title of the vulnerability, if known.",

client/src/app/client/types.gen.ts

+4
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,10 @@ export type VulnerabilityHead = {
860860
* The date (in RFC3339 format) of when software containing the vulnerability first released, if known.
861861
*/
862862
released: string | null;
863+
/**
864+
* The date (in RFC3339 format) of when the vulnerability identifier was reserved, if any.
865+
*/
866+
reserved: string | null;
863867
/**
864868
* The title of the vulnerability, if known.
865869
*/

client/src/app/pages/vulnerability-details/overview.stories.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const Default: Story = {
3030
withdrawn: null,
3131
average_score: null,
3232
average_severity: null,
33+
reserved: null,
3334

3435
// advisories, if any
3536
advisories: [],

0 commit comments

Comments
 (0)