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

Vulnerability History - extend to history of severities #105

Open
4 tasks
siewer opened this issue Jul 17, 2023 · 0 comments
Open
4 tasks

Vulnerability History - extend to history of severities #105

siewer opened this issue Jul 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@siewer
Copy link
Contributor

siewer commented Jul 17, 2023

As is

Currently vulnerability trend chart is generated based on records in VulnHistory table.

This table is generated based on scheduler in GlobalScheduler.createHistoryForVulns()

to be

VulnHistory table to be extended -> to contain information about severities
e.g.: codeVulnHistory to -> codeVulnHistory, codeVulnCriticalHistory, codeVulnHighHistory, codeVulnMediumHistory, codeVulnLowHistory (where codeVulnHistory = codeVulnCriticalHistory+codeVulnHighHistory+codeVulnMediumHistory+codeVulnLowHistory)

note: it is important that the overall (e.g. codeVulnHistory) still exists as it is used in many places by the frontend.

Additional: new API Endpoint that will print history for project with severities has to be created

To do

  • Create new columns in VulnHistory table (via changelog)
  • Modify createVulnHistoryService.createScheduled(project) to populate new columns
  • Create API endpoint in ProjectRestController that show history for project including information about severities
  • Create tests for newly created methods
@siewer siewer added the enhancement New feature or request label Jul 17, 2023
majewm15 pushed a commit to majewm15/MixewayBackend that referenced this issue Aug 8, 2023
majewm15 pushed a commit to majewm15/MixewayBackend that referenced this issue Aug 8, 2023
majewm15 pushed a commit to majewm15/MixewayBackend that referenced this issue Nov 23, 2023
majewm15 pushed a commit to majewm15/MixewayBackend that referenced this issue Nov 23, 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