-
Notifications
You must be signed in to change notification settings - Fork 27
Quickfix dashboard stats #1845
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
Merged
Merged
Quickfix dashboard stats #1845
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c86483b
added renovate endpoint
5byuri 6ebd04c
resolve merge Merge remote-tracking branch 'origin/main' into renovat…
5byuri e09728c
removed mockery, pulling from origin/main, fix placeholder duplicate …
5byuri dbc071f
resolve conflicts Merge remote-tracking branch 'origin/main' into ren…
5byuri 1830499
Merge remote-tracking branch 'origin/main' into HEAD
5byuri fe3d98b
Merge branch 'renovate-bot-feature' of github.com:l3montree-dev/devgu…
5byuri 0feb361
added test
5byuri 7b2b40f
add and expose daily fixable vulnerability history fields for artifac…
5byuri 656afd5
revert mocks and mockery config to main
5byuri 2d82aab
revert mocks to mock_ prefix convention
5byuri 5d16bda
fix mock casing, remove mocks not on main
5byuri dc71ae0
resolved merge conflicts
timbastin 060d5a0
removes redundant update sql call
timbastin 3b9781c
simplifies query
timbastin e223583
adds integration test
timbastin 6f8bd7a
only allowing packageName and currentValue as query parameter in reno…
timbastin 7f79d57
fixes time travel dependency vuln state
timbastin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
database/migrations/20260304170435_recover_missing_migration.down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| -- Recovery migration placeholder for missing historical version. | ||
| -- Intentionally left empty. |
3 changes: 3 additions & 0 deletions
3
database/migrations/20260304170435_recover_missing_migration.up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| -- Recovery migration placeholder for missing historical version. | ||
| -- Intentionally left empty to unblock environments that already reference | ||
| -- migration version 20260304170435 in schema_migrations. |
9 changes: 9 additions & 0 deletions
9
...base/migrations/20260402110000_add_fixable_distribution_to_artifact_risk_history.down.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ALTER TABLE public.artifact_risk_history | ||
| DROP COLUMN IF EXISTS cve_purl_fixable_critical, | ||
| DROP COLUMN IF EXISTS cve_purl_fixable_high, | ||
| DROP COLUMN IF EXISTS cve_purl_fixable_medium, | ||
| DROP COLUMN IF EXISTS cve_purl_fixable_low, | ||
| DROP COLUMN IF EXISTS fixable_critical, | ||
| DROP COLUMN IF EXISTS fixable_high, | ||
| DROP COLUMN IF EXISTS fixable_medium, | ||
| DROP COLUMN IF EXISTS fixable_low; |
10 changes: 10 additions & 0 deletions
10
database/migrations/20260402110000_add_fixable_distribution_to_artifact_risk_history.up.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| ALTER TABLE public.artifact_risk_history | ||
| ADD COLUMN IF NOT EXISTS fixable_low INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS fixable_medium INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS fixable_high INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS fixable_critical INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS cve_purl_fixable_low INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS cve_purl_fixable_medium INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS cve_purl_fixable_high INTEGER DEFAULT 0, | ||
| ADD COLUMN IF NOT EXISTS cve_purl_fixable_critical INTEGER DEFAULT 0; | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch dereferences
*assetVersionNamebut the branch condition only checksartifactName != nil. If callers pass an artifact name without an asset version name, this will panic. Consider either (1) requiringassetVersionName != nilin this branch and returning an error otherwise, or (2) adjusting the query to not dereferenceassetVersionNamewhen it is nil.