From: Martin Skorupski Date: Wed, 29 Mar 2023 07:08:15 +0000 (+0200) Subject: Create viewer for SBOM and VEX data. X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=3f43dca1948acb8dc3ac93dd1248f5bca39414c3;hp=1d70009cf31e0b9f458d80f08a7566e8e99392d6;p=oam.git 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 --- 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" } }