From 3f43dca1948acb8dc3ac93dd1248f5bca39414c3 Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Wed, 29 Mar 2023 09:08:15 +0200 Subject: [PATCH 1/1] Create viewer for SBOM and VEX data. - add README describing prerequisites and usage - address vulnerabilities by using newer versions Issue-ID: OAM-320 Change-Id: I95158175fc876c6fa37880f41579744011f58877 Signed-off-by: Martin Skorupski --- code/container-analysis/README.md | 18 +++++++++++++++++- code/container-analysis/viewer/package.json | 4 ++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/code/container-analysis/README.md b/code/container-analysis/README.md index d48fd6a..8675c53 100644 --- a/code/container-analysis/README.md +++ b/code/container-analysis/README.md @@ -28,4 +28,20 @@ Once your docker containers are up and running just use: Note: It takes time ... -You will find the results in the 'out' folder. \ No newline at end of file +You will find the results in the 'out' folder. + +### Viewer + +If you would like to see a kind of summary, please run: + +``` +cd viewer +npm install +npm start +``` + +... and view in your browser + +``` +http://localhost:3000 +``` \ No newline at end of file diff --git a/code/container-analysis/viewer/package.json b/code/container-analysis/viewer/package.json index 6c211c6..1615fa1 100644 --- a/code/container-analysis/viewer/package.json +++ b/code/container-analysis/viewer/package.json @@ -8,9 +8,9 @@ "dependencies": { "cookie-parser": "~1.4.4", "debug": "~2.6.9", - "express": "~4.16.1", + "express": "^4.18.2", "http-errors": "~1.6.3", "morgan": "~1.9.1", - "pug": "2.0.0-beta11" + "pug": "^3.0.2" } } -- 2.16.6