Skip to content

Commit

Permalink
update client/openapi/trustd.yaml (#218)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people authored Nov 6, 2024
1 parent f0b6020 commit 4fb437a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client/openapi/trustd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3630,6 +3630,7 @@ components:
- identifier
- title
- description
- reserved
- published
- modified
- withdrawn
Expand Down Expand Up @@ -3679,6 +3680,12 @@ components:
- 'null'
format: date-time
description: The date (in RFC3339 format) of when software containing the vulnerability first released, if known.
reserved:
type:
- string
- 'null'
format: date-time
description: The date (in RFC3339 format) of when the vulnerability identifier was reserved, if any.
title:
type:
- string
Expand Down
7 changes: 7 additions & 0 deletions client/src/app/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2383,6 +2383,7 @@ export const VulnerabilityHeadSchema = {
"identifier",
"title",
"description",
"reserved",
"published",
"modified",
"withdrawn",
Expand Down Expand Up @@ -2435,6 +2436,12 @@ CVE identifier.`,
description:
"The date (in RFC3339 format) of when software containing the vulnerability first released, if known.",
},
reserved: {
type: ["string", "null"],
format: "date-time",
description:
"The date (in RFC3339 format) of when the vulnerability identifier was reserved, if any.",
},
title: {
type: ["string", "null"],
description: "The title of the vulnerability, if known.",
Expand Down
4 changes: 4 additions & 0 deletions client/src/app/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,10 @@ export type VulnerabilityHead = {
* The date (in RFC3339 format) of when software containing the vulnerability first released, if known.
*/
released: string | null;
/**
* The date (in RFC3339 format) of when the vulnerability identifier was reserved, if any.
*/
reserved: string | null;
/**
* The title of the vulnerability, if known.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const Default: Story = {
withdrawn: null,
average_score: null,
average_severity: null,
reserved: null,

// advisories, if any
advisories: [],
Expand Down

0 comments on commit 4fb437a

Please sign in to comment.