8000 GitHub - rohanmandhanya/kai-app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rohanmandhanya/kai-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vulnerability Scanner API

This project provides a RESTful API for scanning and querying vulnerabilities from GitHub repositories. The API supports two main operations:

  1. Scan - Fetches JSON files from a specified GitHub repository, processes the vulnerabilities contained in these files, and stores them in an SQLite database.
  2. Query - Allows querying the stored vulnerabilities by specific filters (e.g., severity).

Prerequisites

  • Docker and Docker Compose installed on your machine.
  • Go 1.16 or higher (for development).
  • SQLite (for database).
  • GitHub API access (for fetching repository data).

Installation

  1. Clone the repository:

git clone https://github.com/yourusername/vulnerability-scanner-api.git

cd vulnerability-scanner-api

  1. Install dependencies:

go mod tidy

Running the Application

  • Docker To run the application using Docker Compose docker compose up

  • Manually To run the application manually go run cmd/main.go

Testing

This application includes unit and integration tests to ensure that the logic and API endpoints function correctly. go test ./,, -v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0