Skip to content

telexintegrations/vulnerability-checker

Repository files navigation

Vulnerability Checker

🚀 This integration scans for vulnerabilities in project dependencies using Snyk and ESLint and sends alerts to Telex.

Run Locally

Clone the project

 git clone https://github.com/devhola/telex-vulnerability-checker.git

Go to the project directory

  cd telex-vulnerability-checker

Install dependencies

  npm install

Generate Lint Report

  npx eslint . --format=json -o eslint-report.json

Generate Snyk Report

  snyk test --all-projects --json > snyk-report.json

Start the server

  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PORT

NODE_ENV

TELEX_WEBHOOK

API Reference

Get Integration Config

GET /integration-spec

Get Integration config json information.

Get Vunerabililty results

  POST /callback

Get Vunerabililty results

Deployment 🚀

To deploy this project, follow these steps:

1️⃣ Create a New Web Service

  • Use a platform like Railway, Render, Heroku, Vercel, or DigitalOcean App Platform.
  • Select "Deploy from GitHub" and connect your repository.

2️⃣ Configure the Web Service

🔹 Build Command:

npm install

🔹 start Command:

npm run start

Screenshots

App Screenshot

App Screenshot

About

This integration scans for vulnerabilities in project dependencies using Snyk and ESLint and sends alerts to Telex.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors