Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create endpoint to get project vulnerabilities #28

Closed
Tracked by #3
dloez opened this issue May 11, 2023 · 0 comments
Closed
Tracked by #3

Create endpoint to get project vulnerabilities #28

dloez opened this issue May 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dloez
Copy link
Owner

dloez commented May 11, 2023

Similar to /projects/{id}/dependencies, create:

  • /projects/{id}/vulnerabilities
[
  {
    "osv_id": "string",
    "cve_id": "string",
    "severity_overall_score": "float",
    "severity_overall_score_string": "string",
    "fix_available": "boolean"
  }
]
  • /projects/{id}/vulnerabilities/{id}
{
  "osv_id": "string",
  "cve_id": "string",
  "severity_overall_score": "float",
  "severity_overall_score_string": "string",
  "affected_project_dependencies": [
    {
      "name": "string",
      "version": "string",
      "ecosystem": "string",
      "fixed_versions": ["string"]
    }
  ]
}
  • /projects/{id}/dependencies/{id}/vulnerabilities
[
  {
    "osv_id": "string",
    "cve_id": "string",
    "severity_overall_score": "float",
    "severity_overall_score_string": "string",
    "fixed_versions": ["string"]
  }
]
@dloez dloez mentioned this issue May 11, 2023
12 tasks
@github-actions github-actions bot added the needs triage This issue needs to be revised and clasified label May 11, 2023
@dloez dloez added enhancement New feature or request and removed needs triage This issue needs to be revised and clasified labels May 11, 2023
@dloez dloez closed this as completed May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant