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

WIP: Consider rating overrides for findings #489

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

WIP: Consider rating overrides for findings #489

wants to merge 6 commits into from

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Dec 15, 2023

Description

Considers rating overrides for findings.

Additionally, refactors findings query to use JDBI and a single SQL statement, instead of multiple additional queries to enrich the results.

The new query also supports pagination, which the original logic didn't.

Warning

This PR builds on top of #474 and #488, I'll rebase it once the other PRs are merged. The change set will be a lot smaller then. :)

Addressed Issue

Closes DependencyTrack/hyades#966

Additional Details

N/A

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

@nscuro nscuro added the defect Something isn't working label Dec 15, 2023
@nscuro nscuro force-pushed the issue-966 branch 3 times, most recently from c3a054a to eb3eb5f Compare December 18, 2023 15:32
Additionally, refactor findings query to use JDBI and a single SQL statement, instead of multiple additional queries to enrich the results.

The new query also supports pagination, which the original logic didn't.

Closes DependencyTrack/hyades#966

Signed-off-by: nscuro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rating overrides should reflect in findings
1 participant