From cad0ce042c8a3c02de3502b7364962776c9dbb01 Mon Sep 17 00:00:00 2001 From: Probot-github-test-workflow <143384730+Probot-github-test-workflow@users.noreply.github.com> Date: Thu, 28 Aug 2025 17:09:50 +0530 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c99f0d4..20d4886 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## What is this about Verademo API is very simple API for the Verademo Java Application that can be found here: [https://github.com/veracode/verademo-javascript-api](https://github.com/veracode/verademo-javascript-api). It allows you to use almost the same functionality as the web application, only as an API. -It's used as a demo application to run static code analysis, software composition analysis and dynamic API scanning. There will be findings for all differnt type of scanning technologies. +It's used as a demo application to run static code analysis, software composition analscscysis and dynamic API scanning. There will be findings for all differnt type of scanning technologies. Static Findings From eb1c1b8f3777375730494cd28f31a83e0c60d7b7 Mon Sep 17 00:00:00 2001 From: Probot-github-test-workflow <143384730+Probot-github-test-workflow@users.noreply.github.com> Date: Thu, 28 Aug 2025 17:21:44 +0530 Subject: [PATCH 2/6] Update README.md --- README.md | 76 +------------------------------------------------------ 1 file changed, 1 insertion(+), 75 deletions(-) diff --git a/README.md b/README.md index 20d4886..3bed1d9 100644 --- a/README.md +++ b/README.md @@ -1,75 +1 @@ -
. - -# Verademo API - -## What is this about -Verademo API is very simple API for the Verademo Java Application that can be found here: [https://github.com/veracode/verademo-javascript-api](https://github.com/veracode/verademo-javascript-api). It allows you to use almost the same functionality as the web application, only as an API. -It's used as a demo application to run static code analysis, software composition analscscysis and dynamic API scanning. There will be findings for all differnt type of scanning technologies. -Static Findings - - -Dynamic Findings - - -SCA Findings - - -## How to build and run -Simply clone this repo and run ss -``npm install`` -This will install required node modules for this application.s -``node index.js`` -This will run an express server on port 8000. - -Alos this app requires a database that is right now setup to connect on 192.168.178.80:3306. Please refer to the overlaying group of repositorires [https://github.com/veracode/verademo-app-docker](https://github.com/veracode/verademo-app-docker) how you can run the web app, the database and this API in one go using Docker images. - -A few little configurations if you wnat to adjust. -It's configured to run on port 8000, if you want to change please change the code on ``index.js`` accordingly. -``` -app.listen(8000, () => { - console.log("Verademo API is ready to listen for requests"); -}); -``` -The database configuration is found on ``/config/db.config.js``, if you are using a different database or database connection please adjust this part of the code. -``` -const { createPool } = require("mysql"); -const db = createPool({ - port: 3306, - host: "192.168.178.80", - user: "blab", - password: "z2^E6J4$;u;d", - database: "blab", - connectionLimit: 10, -}); -module.exports = db; -``` - -If you want to run on a docker your Dockerfile could be similar to this -``` -FROM node:16 - -WORKDIR /user/src/app -COPY package*.json ./ -RUN npm install -COPY . . -EXPOSE 8000 -CMD ["node", "index.js"] -``` - -A full documentation how to run with a full data base and the corresponding web app in a dockerized environement can be found here: [https://github.com/veracode/verademo-app-docker](https://github.com/veracode/verademo-app-docker) - - -## Functionality -It's using token based authentication. You are required to send an authentication header with every request to this API. -``Authentication: Token: YOUR-TOKEN`` - -The token is the md5 hashedpassword of the user. If your are using the default database this is already stored on the `blab` database and the `users` table. Please refer to the full dockerized setup here [https://github.com/veracode/verademo-app-docker](https://github.com/veracode/verademo-app-docker). -The API provides a few calls that also can reviewed on the automatically generated swagger overview under `http://IP:8000/public/`. It also brings a full swagger file in `/public/swagger.json` that can be used for dynamic API scanning. -! -If you run a call against this API it requires JSON data to be sent (where applicalble) and it will also return JSON data. - - -All calls to `admin` can only be do by the admin user, using the corresponding token to authenticate. - -## License -![MIT license](https://img.shields.io/badge/License-MIT-blue.svg) +sfsdff From 034a1f60f9190f5a2efcc1e0694204efd6ce79a4 Mon Sep 17 00:00:00 2001 From: Probot-github-test-workflow <143384730+Probot-github-test-workflow@users.noreply.github.com> Date: Thu, 28 Aug 2025 17:49:38 +0530 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bed1d9..1598fd5 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -sfsdff +sfsdff ttt From 97cdf67dfcc13f445f810f73add1f51bb9355c12 Mon Sep 17 00:00:00 2001 From: Probot-github-test-workflow <143384730+Probot-github-test-workflow@users.noreply.github.com> Date: Thu, 11 Sep 2025 10:44:03 +0530 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1598fd5..87498d7 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -sfsdff ttt +sfsdff tttsdsd From 64ceb5ef1ff1e5ca1e2b1d481fc9ee2ec2c5c31d Mon Sep 17 00:00:00 2001 From: Probot-github-test-workflow <143384730+Probot-github-test-workflow@users.noreply.github.com> Date: Thu, 11 Sep 2025 10:44:41 +0530 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 87498d7..2273b3d 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -sfsdff tttsdsd +sfsdff tttsdsdsd From 534b43296c3ca2b4263d7b3b2f0d8292e589f8e2 Mon Sep 17 00:00:00 2001 From: Probot-github-test-workflow <143384730+Probot-github-test-workflow@users.noreply.github.com> Date: Wed, 17 Sep 2025 11:57:56 +0530 Subject: [PATCH 6/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2273b3d..3fedf61 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -sfsdff tttsdsdsd +sfsdff tttsdsdsd test