Mixeway / MixewayBackend

Mixeway is security orchestrator for vulnerability scanners which enable easy plug in integration with CICD pipelines. MixewayBackend project contains source code of backend with all plugin integrations writer in Spring Boot.
https://mixeway.io
GNU General Public License v3.0
14 stars 8 forks source link

Endpoint to find vulnerabilities in particular CodeProject #99

Closed siewer closed 1 year ago

siewer commented 1 year ago

Need new endpoint in CodeController

accessing:

POST /v2/api/show/project/code/details
{
  "repourl":"https://github.com/examplerepo"
}

should result in searching the CodeProjectRepository for CodeProject entity by repourl.

HTTP response should contain CodeProject entity if everything is ok, 403 code if caller has no permissions for finding particular CodeProject and 404 if there is no CodeProject with given repourl found in database