Create viewer for SBOM and VEX data. 98/10798/2
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Wed, 29 Mar 2023 07:08:15 +0000 (09:08 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Wed, 29 Mar 2023 07:36:34 +0000 (09:36 +0200)
- add  README describing prerequisites and usage
- address vulnerabilities by using newer versions

Issue-ID: OAM-320
Change-Id: I95158175fc876c6fa37880f41579744011f58877
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
code/container-analysis/README.md
code/container-analysis/viewer/package.json

index d48fd6a..8675c53 100644 (file)
@@ -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
index 6c211c6..1615fa1 100644 (file)
@@ -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"
   }
 }