dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

NEW_VULNERABLE_DEPENDENCY notification not working

Open stevespringett opened this issue 3 years ago • 7 comments

While working on adding policy violation support to notifications, I realized that the NEW_VULNERABLE_DEPENDENCY notification doesn't work at all and is not hooked up to anything. This is likely a result from the data model migration from 3.x to 4.x, but it's interesting that it hasn't been reported.

stevespringett avatar May 11 '22 19:05 stevespringett

I noticed this when testing Dependency-Track for the first time but I thought I had something misconfigured. Any pointers on where this issue could be fixed?

AbdelHajou avatar May 13 '22 01:05 AbdelHajou

Its targeted for v4.6

stevespringett avatar May 13 '22 04:05 stevespringett

I also thought it was a misconfiguration. Could you add a notification graph to the dashboard? So that we can check if a notification was sent.

pimschrama avatar Jun 10 '22 11:06 pimschrama

Does the notification even make sense anymore?

  • NEW_VULNERABILITY already fires when NEW_VULNERABLE_DEPENDENCY would be fired
  • NEW_VULNERABLE_DEPENDENCY includes a list of projects where the dependency was introduced, which, based on the new component model, doesn't make sense anymore, since component identity is now bound to individual projects

nscuro avatar Jun 27 '22 20:06 nscuro

The default notification template only includes the affected PROJECT(s) on the event NEW_VULNERABLE_DEPENDENCY.

Is it possible to show the affected Project(s) also on NEW_VULNERABILITY?

Kretikus avatar Jun 29 '22 10:06 Kretikus

@Kretikus yes you can list the affected project(s) when getting a NEW_VULNERABILITY. check this: https://docs.dependencytrack.org/integrations/notifications/

redaabdellah21 avatar Aug 03 '22 09:08 redaabdellah21

@pimschrama i agree, since there is nothing that indecates if a notification was sent or not, you can't be sure if you configured it right. in my case i thought maybe it was me who didn't understand when the notification is triggered.

redaabdellah21 avatar Aug 03 '22 10:08 redaabdellah21

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Sep 26 '22 10:09 github-actions[bot]