Skip to content

Implemented crowdsourced vexing display#709

Open
Dboy0ZDev wants to merge 9 commits intomainfrom
crowdsource-vexing-display
Open

Implemented crowdsourced vexing display#709
Dboy0ZDev wants to merge 9 commits intomainfrom
crowdsource-vexing-display

Conversation

@Dboy0ZDev
Copy link
Copy Markdown
Collaborator

Integrated crowdsourced vexing and endpoint request
Issue: l3montree-dev/devguard#1903

Copilot AI review requested due to automatic review settings April 29, 2026 13:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds UI support on the dependency vulnerability details page to fetch and display a crowdsourced VEX recommendation, show whether it matches an already-applied rule, and allow applying the recommendation as a VEX rule.

Changes:

  • Added a reusable VexRuleListitem component for rendering VEX rule entries.
  • Added AcceptVexRuleRecommendationDialog to review/apply a recommended VEX rule.
  • Updated the dependency risk details page to fetch a recommendation and render “Recommendation” vs “Applied Rules” sections.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
src/components/vex-rules/VexRuleListitem.tsx New shared list-item component for displaying VEX rule summary + result.
src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx New dialog to inspect and apply a recommended VEX rule via API call.
src/app/(loading-group)/.../dependency-risks/[vulnId]/page.tsx Fetches recommendation via SWR and integrates recommendation/applied rules UI + dialog wiring.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx Outdated
Comment thread src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx Outdated
Comment thread src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx Outdated
Comment thread src/components/vex-rules/VexRuleListitem.tsx Outdated
Comment thread src/components/vex-rules/VexRuleListitem.tsx Outdated
Comment thread src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx Outdated
Comment thread src/components/vex-rules/VexRuleListitem.tsx Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/vex-rules/AcceptVexRuleRecommendationDialog.tsx Outdated
Comment thread src/components/vex-rules/VexRuleListItem.tsx Outdated
@Dboy0ZDev Dboy0ZDev requested a review from timbastin May 6, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants