From 47cb3d09030c988cee11114e8c2d322ab1d135cc Mon Sep 17 00:00:00 2001 From: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:01:19 +0100 Subject: [PATCH] fix: restore story book data deleted while developing --- .../advisories-by-vulnerability.stories.tsx | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/client/src/app/pages/vulnerability-details/advisories-by-vulnerability.stories.tsx b/client/src/app/pages/vulnerability-details/advisories-by-vulnerability.stories.tsx index 2976af31..db4182cb 100644 --- a/client/src/app/pages/vulnerability-details/advisories-by-vulnerability.stories.tsx +++ b/client/src/app/pages/vulnerability-details/advisories-by-vulnerability.stories.tsx @@ -69,7 +69,42 @@ export const PrimaryState: Story = { ], }, number_of_vulnerabilities: 1, - sboms: [], + sboms: [ + { + id: "urn:uuid:0193013f-1b8a-7152-8857-8b8f4238b8ba", + document_id: + "https://access.redhat.com/security/data/sbom/spdx/quarkus-bom-3.2.12.Final-redhat-00002", + labels: { + type: "spdx", + }, + data_licenses: ["CC0-1.0"], + published: "2024-07-05T09:40:48Z", + authors: [ + "Organization: Red Hat Product Security (secalert@redhat.com)", + ], + name: "quarkus-bom", + version: "3.2.12.Final-redhat-00002", + status: ["affected"], + number_of_packages: 1, + }, + { + id: "urn:uuid:0193013f-0f00-77e1-afe4-b7d7f8585b7a", + document_id: + "https://access.redhat.com/security/data/sbom/spdx/quarkus-bom-3.2.11.Final-redhat-00001", + labels: { + type: "spdx", + }, + data_licenses: ["CC0-1.0"], + published: "2024-05-28T09:26:01Z", + authors: [ + "Organization: Red Hat Product Security (secalert@redhat.com)", + ], + name: "quarkus-bom", + version: "3.2.11.Final-redhat-00001", + status: ["affected"], + number_of_packages: 1, + }, + ], }, ], },