l3montree-dev / devguard

DevGuard Backend - Manage your CVEs seamlessly, Integrate your Vulnerability Scanners, Security Framework Documentation made easy, Compliance to security Frameworks - OWASP Incubating Project
https://flawfix.dev
Other
37 stars 4 forks source link

Create open API-Endpoint to search for cves and retrieve all information we are currently storing in our Vulnerability database #75

Closed timbastin closed 3 months ago

timbastin commented 5 months ago

I thought about a route design like this:

Retrieve all details of a single CVE: GET /vulndb/<CVE-ID>. Filter CVEs GET /vulndb - I want to be able to:

  1. List all Vulnerabilities (max 100 per page) - we need to build a pagination (GET /vulndb?page=1&perPage=10)
  2. Order and Filter Vulnerabilities by attributes (see FlawHttpController@ListPaged)