Repository navigation
feat: highlight vulnerable components in dependency graph - #2155
Open
sachinnadgouda wants to merge 1 commit into
Open
sachinnadgouda wants to merge 1 commit into
sachinnadgouda wants to merge 1 commit into
Conversation
Make vulnerable packages immediately distinguishable in the project dependency graph so analysts can spot affected dependencies and their highest severity without cross-referencing the findings table. Vulnerable component nodes now display severity-colored borders, subtle theme-aware tints, compact non-color-only severity badges, and full accessible severity breakdowns. The graph legend dynamically lists severities present in the visible graph, and component search options indicate affected packages. Active (non-suppressed) project findings are loaded lazily only for users with VIEW_VULNERABILITY permission, refreshed after in-session audit changes, and surface status notices when findings fail to load or exceed the pagination safety cap. Closes DependencyTrack#1641 Signed-off-by: Sachin S Nadgouda <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Make vulnerable components immediately distinguishable in the project dependency graph, helping analysts identify affected dependencies and assess their highest vulnerability severity without cross-referencing the findings table.
Vulnerable component nodes now display severity-colored borders, subtle theme-aware background tints, and compact badges showing vulnerability counts and highest severity. Accessible labels provide the full per-severity breakdown.
The enhancement also includes:
VIEW_VULNERABILITYpermission.The implementation reuses the existing findings API, severity design tokens, and graph components without introducing backend changes or additional dependencies.
Addressed Issue
Closes #1641
Additional Details
Validation performed:
Checklist