Skip to content

Commit

Permalink
update client/openapi/trustd.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
github-merge-queue[bot] authored Dec 9, 2024
1 parent 10c862b commit c63c303
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/openapi/trustd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3580,7 +3580,12 @@ components:
- sha384
- sha512
- size
- ingested
properties:
ingested:
type: string
format: date-time
description: The timestamp the document was ingested
sha256:
type: string
sha384:
Expand Down
7 changes: 6 additions & 1 deletion client/src/app/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2167,8 +2167,13 @@ Described in CVSS v3.1 Specification: Section 5:

export const SourceDocumentSchema = {
type: "object",
required: ["sha256", "sha384", "sha512", "size"],
required: ["sha256", "sha384", "sha512", "size", "ingested"],
properties: {
ingested: {
type: "string",
format: "date-time",
description: "The timestamp the document was ingested",
},
sha256: {
type: "string",
},
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 @@ -797,6 +797,10 @@ export type SbomSummary = SbomHead &
export type Severity = "none" | "low" | "medium" | "high" | "critical";

export type SourceDocument = {
/**
* The timestamp the document was ingested
*/
ingested: string;
sha256: string;
sha384: string;
sha512: string;
Expand Down

0 comments on commit c63c303

Please sign in to comment.