Skip to content

Conversation

@rerkcp
Copy link

@rerkcp rerkcp commented Jan 28, 2025

This is needed to efficiently fix nscuro/dtapac#279

dtapac receives a New Vulnerability found notification via webhook from Dependency Track. This notification includes a component and a list of affected projects. Currently the relevant project for this component can only be found by querying each project and looking for the one that includes the component from the webhook. This is doable, but very inefficient, especially since the component already includes its project, it's just not visible through the go API. This PR makes the project visible in the Component.

@rerkcp rerkcp requested a review from nscuro as a code owner January 28, 2025 12:03
@rerkcp rerkcp force-pushed the Add_parent_project_in_component branch from 2341c88 to 11507e0 Compare January 28, 2025 12:04
@nscuro nscuro added the enhancement New feature or request label Feb 8, 2025
@nscuro nscuro changed the title Add parent project in component feat: add project field to component struct Feb 8, 2025
Copy link
Member

@nscuro nscuro left a comment

Choose a reason for hiding this comment

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

Thanks!

@nscuro nscuro merged commit e52125c into DependencyTrack:main Feb 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dtapac sets Analysis in wrong project

2 participants