Skip to content

Refactor vuln events and vulns tables #690

Open
Hubtrick-Git wants to merge 2 commits intomainfrom
refactor--vuln-events-and-vulns-tables
Open

Refactor vuln events and vulns tables #690
Hubtrick-Git wants to merge 2 commits intomainfrom
refactor--vuln-events-and-vulns-tables

Conversation

@Hubtrick-Git
Copy link
Copy Markdown
Collaborator

  • changed the respective parts in the frontend

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

Refactors frontend handling of vulnerability events and VEX-rule fetching to align with updated vuln/vuln-events table semantics.

Changes:

  • Extends BaseVulnEventDTO.vulnType to include "licenseRisk".
  • Updates the dependency risk details page VEX-rules request to use dependencyVulnId instead of vulnId.

Reviewed changes

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

File Description
src/types/api/api.ts Updates the vuln event DTO union to represent license risk events.
src/app/(loading-group)/[organizationSlug]/projects/[projectSlug]/assets/[assetSlug]/refs/[assetVersionSlug]/dependency-risks/[vulnId]/page.tsx Adjusts the VEX rules fetch query parameter to match the new identifier naming.

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

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