Skip to content

Refactor vuln events and vulns tables #690

Merged
timbastin merged 2 commits into
mainfrom
refactor--vuln-events-and-vulns-tables
Apr 7, 2026
Merged

Refactor vuln events and vulns tables #690
timbastin merged 2 commits into
mainfrom
refactor--vuln-events-and-vulns-tables

Conversation

@Hubtrick-Git

Copy link
Copy Markdown
Collaborator
  • changed the respective parts in the frontend

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread src/types/api/api.ts
@timbastin
timbastin merged commit 991dd88 into main Apr 7, 2026
10 of 11 checks passed
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.

3 participants